From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C2644207A; Fri, 22 Nov 2024 09:46:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.165.32 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732268804; cv=fail; b=MxWgDsdqqfE5KGpNe7D3Sqy11ZxvUbz+06j2og1YrxThEXPbO77ksO7bm2QIW7ANaCzhNXAJGwBf2yaxamgeOh9CR3OrHxkH1ssNsX5DApMLp8KYvlp2cXPXo+mevmH3TGH8nAEQ8IfOVJyHhhFmNhA1fWXTgcDsQqHS0jgMfAo= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732268804; c=relaxed/simple; bh=j3mYHc0gHppUHCQ0bU5G0mUKn5vcDfI8uEc8+NPj1nc=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=hsTCCO5AQRmg1Wu+v7pIZy5HjFhkZMxO8A1NR+ibwA3ktCTi1EeMZQ3Uy0aSEPsOn84PbkQ9V+ByNGjQCh/LdmVs7H5h4K8VhTN/xs4JUgAxSAahkYOs00GiRY7FRYZL3Z7kU3A06Fi14AiGSlC6j3aFW+akm1kn/mdWRf9A84E= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=n0Ncbd1A; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=J2JjQ0WS; arc=fail smtp.client-ip=205.220.165.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="n0Ncbd1A"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="J2JjQ0WS" Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AM1tkIU026658; Fri, 22 Nov 2024 09:46:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= corp-2023-11-20; bh=j3mYHc0gHppUHCQ0bU5G0mUKn5vcDfI8uEc8+NPj1nc=; b= n0Ncbd1ASU8wSszg4QfCVfgwWJQb5HSQNJNUSkkN4quhDzROnzzJvoczjsrR9W8f TiYGozeDPG+THnon8IDsZEwJ0A4tVP/e4c4GFFKwKfJbAQIXW5taViQ3J6xxX6x/ yy9icVE1OXGQ6JmId62AgMVC+EwX+QGo8e3XiPNIHOePdyeLmRp90mLFkTQS9kgP TiGHbPc5MwWndZ38QwN4Mihx5hG+F+agDYhdMKUqMM6SU+vW5WdEgy56Hm9ZdJI6 siPgoQexvYMPbJvlEZULUa1KiG4KUjtrd+I56G+J1rVMDS88agRgurA618XdVL7S as9CkH5MovdyGcX799a5aQ== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 430rs5f21y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 22 Nov 2024 09:46:01 +0000 (GMT) Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 4AM7UtZ4023209; Fri, 22 Nov 2024 09:45:59 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2042.outbound.protection.outlook.com [104.47.58.42]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 42xhudject-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 22 Nov 2024 09:45:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tsXjgx7zTvSs2shxBWjEqEA3ecxRPmwa7Lt2PS01k4zqda6KSkFNxZ9WFl+eIEDW8bH9q+u4PyxMODkLrMpOzqE3J619b34uncOfZDXUdvlgUCoMmYravhJP3C4xcIvPIx+fZe2rnWtr65D/gazgqHVPvRYBH10NnsFECDpDZUFiw79QtOTkrDv5Cmz2KXx7Vj/S4sv46frwFIvAauEEpul/qxJvW6P32E2kTqsbOSyVxHPLvfLhmput+zEshkopPC2dGU4+cwgiqWSsHFnEcKEkpl8YlYxNbBYqsub9fd6YnKnpJJJ4zy5Gza2wE7TGFuowR1gxUbXdG5R/WEHsdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=j3mYHc0gHppUHCQ0bU5G0mUKn5vcDfI8uEc8+NPj1nc=; b=aIG46Mia2w18BhA3DEUs5ehJl6tgp2pDdw2S6hgUqF17h7z4h5qghc22aIMcuznkoEul12arhekAbFM/lRA1FwiYAkwB/s/Qz2GI7wGl6CwaS373mRpgyh867cYWYuHgzOg7j8ESbHUMIL7C1OnVY0hIOx2c316/OWAA258fCnTBNMhvsx3jxJhhYUfU/b42UQqbII4ehybd1VQmqZT9/QiV9imaBS5rt0HCur1PndYc0LfLCC5TwAAiJRszJUGBQyC1nAEoQPdh65opvi1GV3Y3uKauVZI/SuR/p8mgORZfCaIbKqP3Qi+AAKtyAJIGAzNFg8Qr4kwfR7HHr4za1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j3mYHc0gHppUHCQ0bU5G0mUKn5vcDfI8uEc8+NPj1nc=; b=J2JjQ0WSakvZLRqS/GhzSWyQZGdZhOjvikIgRgPxBvQ8iGpQqepurShxLeUiVFyQ3vuDZTMVzwq4pAeyecjMynZz2j6l1OfTdNmchWpH+wz5x3cNgEjwzSplZENarrT28EN+vqZt1g+joAh0CY7tZKFishApfqFqbUEszuZF6NU= Received: from BYAPR10MB3366.namprd10.prod.outlook.com (2603:10b6:a03:14f::25) by SJ0PR10MB5788.namprd10.prod.outlook.com (2603:10b6:a03:3df::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.18; Fri, 22 Nov 2024 09:45:56 +0000 Received: from BYAPR10MB3366.namprd10.prod.outlook.com ([fe80::baf2:dff1:d471:1c9]) by BYAPR10MB3366.namprd10.prod.outlook.com ([fe80::baf2:dff1:d471:1c9%7]) with mapi id 15.20.8158.023; Fri, 22 Nov 2024 09:45:56 +0000 Date: Fri, 22 Nov 2024 09:45:52 +0000 From: Lorenzo Stoakes To: Guenter Roeck Cc: Geert Uytterhoeven , "Christoph Lameter (Ampere)" , Vlastimil Babka , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Jens Axboe , Pavel Begunkov , Mike Rapoport , Christian Brauner , Kees Cook , Jann Horn , linux-mm@kvack.org, io-uring@vger.kernel.org, linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] slab: Fix too strict alignment check in create_cache() Message-ID: <9be80a9f-1587-4e8a-98cb-edf4920e587e@lucifer.local> References: <80c767a5d5927c099aea5178fbf2c897b459fa90.1732106544.git.geert@linux-m68k.org> <4f70f8d3-4ba5-43dc-af1c-f8e207d27e9f@suse.cz> <2e704ffc-2e79-27f7-159e-8fe167d5a450@gentwo.org> <693a6243-b2bd-7f2b-2b69-c7e2308d0f58@gentwo.org> <508aa9c4-4176-4336-8948-a31f9791dd39@roeck-us.net> <4535df8b-0ca2-4c3c-9523-d27d3de2b9c7@roeck-us.net> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4535df8b-0ca2-4c3c-9523-d27d3de2b9c7@roeck-us.net> X-ClientProxiedBy: LO6P123CA0016.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:313::6) To BYAPR10MB3366.namprd10.prod.outlook.com (2603:10b6:a03:14f::25) Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR10MB3366:EE_|SJ0PR10MB5788:EE_ X-MS-Office365-Filtering-Correlation-Id: abbc8c04-0969-48a1-fe4c-08dd0ada7648 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|7416014|376014|7053199007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?d0NNV0h6NEtCeUNKSGdxVW9RVmpudDRJZE9rTHFYS29WSzg3VVhpNWlFZ2Y5?= =?utf-8?B?S3Fw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3366.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(7416014)(376014)(7053199007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Wkl2RHFhWlhLZGJsbTVjS1NFMEZNaUw3YWFLWERrOUhkWUhyamduV25SdlJT?= =?utf-8?B?Vkh3VmUxUXl4VThRVDQ4Q3ZkMlE4MjU3K1JyTWNTbUxSdG4wQUJBS3poU0Yv?= =?utf-8?B?eFBGOHkwaVhEZTF0WTZ6MjB5WWE5ajI2N3Npb1BQc1VuaVlwVTVPRlYwa0ty?= =?utf-8?B?b3o4N1pkczhiYytwZ3hlYVpPTEcyT00vMVlaVDh5UG1TQ2JkYXJYVHJ3cEky?= =?utf-8?B?YkpDaG5tRGNGWkpBRG02M3N0cGltZ0RhaGVkUm1mSmMrNmxtSHIxdGxNWHVk?= =?utf-8?B?OFNKZmVtcmNUNGpTNlIzL3BzbGpXczFDYk9ISE1Ba3pFKzJFNFBUaG5CbEsy?= =?utf-8?B?c2w3SnVYbzJ0KzNmL05UUE9sK3dKbElabk82MnJKSnJScUhkZC9leHBtbzNh?= =?utf-8?B?emMzYkY3cjgvZUhmaS8zTHlYS0NZajRMMHRVY3ltQk96RlJnOUR6amNmZzlZ?= =?utf-8?B?NjNEbk1MWE5EOGVkNk9TZDYrK3prUEpCQWw4d2xhUW9DNG9HS3Y2ai9YNGs3?= =?utf-8?B?MjBiQWhaMDRlUmhVUVBQcVlhbC9oLzBJRzJSM0V0UVNLb3AzT2E2N2NsOGJa?= =?utf-8?B?WC9yTW5TZytuOFlTMkVFMmVpcEx3QVVWbitFYkJ2eWVsN0l6eW0zaGhmRTNp?= =?utf-8?B?NmNZMXU1TWRSUE5FcjIyVVpmUllxTm9TYW9ONFo4Zm1jNmgvanVCa1hNalBi?= =?utf-8?B?Z1o1aktVTWNkR01QVlpoUUljWVptZGx4TUVEaVk2Vlow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2BbqjVQ3Xs26JxAsgOV64jkZZNzRkkQ6FNkR2s1EiZHEj78nmTLmyX8lB+Y2m1p0zpyS80e5fmnu0bOXgsFXNZlqujBzzJp05M+udzshlZK09VPZ3XZroPHxYf34FnBzV8pi57jBSw12FzItO6jS5r8DBSCcgGFjvp3vRvmmNQ5Tgkzj6g/zcGVwBuxycG0ZMVlEFdmxp8ROVw13b++5Okp9QmdLZi4VcXoJa3dgcLhU31uvUw+EOTTynGk= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: abbc8c04-0969-48a1-fe4c-08dd0ada7648 X-MS-Exchange-CrossTenant-AuthSource: BYAPR10MB3366.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2024 09:45:56.3125 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Qf/wBVP0B9RfxnXzFtliJSY0KwWalVDOZu8r9BG1IMbzhdy2Ch6ws5uvFCnJbcvjQ3sbXnG0OforhZRlkqKKYfDvjddjFwXDoCmagUEUfVo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB5788 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-11-22_04,2024-11-21_01,2024-09-30_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 bulkscore=0 suspectscore=0 phishscore=0 spamscore=0 mlxscore=0 malwarescore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2409260000 definitions=main-2411220082 X-Proofpoint-GUID: EqepPbb48ZF2ca4i9WPhQasAuAwE1Oam X-Proofpoint-ORIG-GUID: EqepPbb48ZF2ca4i9WPhQasAuAwE1Oam On Thu, Nov 21, 2024 at 11:22:58AM -0800, Guenter Roeck wrote: > On Thu, Nov 21, 2024 at 11:08:54AM -0800, Guenter Roeck wrote: > > On Thu, Nov 21, 2024 at 07:50:33PM +0100, Geert Uytterhoeven wrote: > > > On Thu, Nov 21, 2024 at 7:30 PM Guenter Roeck wrote: > > > > On Thu, Nov 21, 2024 at 09:23:28AM -0800, Christoph Lameter (Ampere) wrote: > > > > > On Thu, 21 Nov 2024, Geert Uytterhoeven wrote: > > > > > > Linux has supported m68k since last century. > > > > > > > > > > Yeah I fondly remember the 80s where 68K systems were always out of reach > > > > > for me to have. The dream system that I never could get my hands on. The > > > > > creme de la creme du jour. I just had to be content with the 6800 and > > > > > 6502 processors. Then IBM started the sick road down the 8088, 8086 > > > > > that led from crap to more crap. Sigh. > > > > > > > > > > > Any new such assumptions are fixed quickly (at least in the kernel). > > > > > > If you need a specific alignment, make sure to use __aligned and/or > > > > > > appropriate padding in structures. > > > > > > And yes, the compiler knows, and provides __alignof__. > > > > > > > > > > > > > How do you deal with torn reads/writes in such a scenario? Is this UP > > > > > > > only? > > > > > > > > > > > > Linux does not support (rate) SMP m68k machines. > > > > > > s/rate/rare/ > > > > > > > > Ah. Ok that explains it. > > > > > > > > > > Do we really need to maintain support for a platform that has been > > > > > obsolete for decade and does not even support SMP? > > > > > > > > Since this keeps coming up, I think there is a much more important > > > > question to ask: > > > > > > > > Do we really need to continue supporting nommu machines ? Is anyone > > > > but me even boot testing those ? > > > > > > Not all m68k platform are nommu. > > > > > Yes, I wasn't trying to point to m68k, but to nommu in general. > > > > For some more context: I think it is highly unlikely that anyone is really > using a recent version of Linux on a nommu machine. Maybe that was the case > 10 or 20 years ago, but nowadays there are other operating systems which are > much better suited than Linux for such systems. Yet, there is a _lot_ of > nommu code in the kernel. In comparison, supporting m68k (mmu based) is a no > brainer, plus there are actually people like Geert actively supporting it. > > If we are talking about dropping m68k support, we should really talk about > dropping nommu support first to get some _real_ benefit. > > Guenter > > I couldn't agree more re: nommu, it is the real source of maintenance issues at least for us in mm, and one I've personally run into many times. An aside, but note that there is a proposal to add nommu support to UML, which would entirely prevent our ability to eliminate it [0] (though it would make testing it easier! :) [0]:https://lore.kernel.org/all/cover.1731290567.git.thehajime@gmail.com/