Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp233832iob; Mon, 2 May 2022 18:01:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+cHyFErvEtrIG4JHmA0s73Tz6LpkhxzZLUhsGTUQ8vOti06RqJyV22iQt8wej3vvS12HU X-Received: by 2002:a17:903:2091:b0:15c:b49b:664d with SMTP id d17-20020a170903209100b0015cb49b664dmr14619446plc.151.1651539703595; Mon, 02 May 2022 18:01:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651539703; cv=none; d=google.com; s=arc-20160816; b=k11SDC+wP9a89Ek5gUi5xsCdxmWpIvmSDtKYnd8pybI7QaCy/bCFKX+eTVYln/h9Et 8Oh4WJuI7RJdJvM2wijw9u+atpFJUKKciiaejlJ2yHkpYoV5a9XGJelC+FzmO2oZHlff 4k01g8090QOweyI+sCXbFHTvw+IGMXNZp+pmv9JZsJ/MzXMGmn6RBNefSQDrtvMkmbkw r0GmO4m49wQt03szpGu2KtG33+es8ddQ9p2h5JCqM0TFPoTcafS7cnyKdt4JIgB6MICU msy2rM7otiu65+iQLGV4lvoEdp0BP6Pa97whU6K6ulLRdAYdnXvzMyBMLn1RRjfCJAcC OVAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+aMYyx9JbjctX7IKCAz71I7UvEWhb1H0O2/pEdg011c=; b=py8JhSNRFHovRhQ1ZM7b30pePb6kdr8HzwSSMRxdomS2+Gtk6vShDVvm6nkHHUJ2eU hNJn/ZyYhSJvNlSKD4nXCRusL+1oNNZAG/TQgJtvdZ/mwcKfKzJACjhZNtTIglGaKOw2 8rNu+Mk/gMBCjbmS732sR3pL07j7Y4r1L+F9JctAzXzdkVxoMCe3iwC5mHvmSeyQdOWe GpDkByjjJBnQawZkEjZYbUFWS0I1hqvXkl9NPadw2zTym7sYJjayjYU7lKbFvm8RNOFM NPyYz4tQtMTnQbXqANdErDg/5rN9+nvOxiVEA4eR12Mic3yKQXUzWxx8P2tL63GSQZwT mDrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=Jrko63r6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t42-20020a056a0013aa00b0050e0a0b03afsi968975pfg.362.2022.05.02.18.01.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 18:01:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=Jrko63r6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E66E2546AE; Mon, 2 May 2022 17:45:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244289AbiD1QDA (ORCPT + 99 others); Thu, 28 Apr 2022 12:03:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349434AbiD1QC7 (ORCPT ); Thu, 28 Apr 2022 12:02:59 -0400 Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99046ADD73 for ; Thu, 28 Apr 2022 08:59:44 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1651161583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=+aMYyx9JbjctX7IKCAz71I7UvEWhb1H0O2/pEdg011c=; b=Jrko63r6s51mjDxZWE6hvaqb98Yrb2UoUcte3KUc/vRV6Md+Z/9eBqzdF/KYUvA5PaZCLb 0Td+pe5Ctd5RZKsYeFZtwSIfDiKv1HPtf+7irvWx1hK/ug3JaKyA1hDI3AEKdDirT4jGlQ 8KOM/oj8IRb5BjH2u2re/seuCQR/KWY= From: andrey.konovalov@linux.dev To: Andrew Morton Cc: Andrey Konovalov , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Vlastimil Babka , Roman Gushchin , Peter Collingbourne , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov Subject: [PATCH 1/2] mm: slab: fix comment for ARCH_KMALLOC_MINALIGN Date: Thu, 28 Apr 2022 17:59:39 +0200 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andrey Konovalov The comment next to the ARCH_KMALLOC_MINALIGN definition says that ARCH_KMALLOC_MINALIGN can be defined in arch headers. This is incorrect: it's actually ARCH_DMA_MINALIGN that can be defined there. Fix the comment. Signed-off-by: Andrey Konovalov --- include/linux/slab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/slab.h b/include/linux/slab.h index 373b3ef99f4e..8cc1d54e56ad 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h @@ -190,7 +190,7 @@ void kmem_dump_obj(void *object); /* * Some archs want to perform DMA into kmalloc caches and need a guaranteed * alignment larger than the alignment of a 64-bit integer. - * Setting ARCH_KMALLOC_MINALIGN in arch headers allows that. + * Setting ARCH_DMA_MINALIGN in arch headers allows that. */ #if defined(ARCH_DMA_MINALIGN) && ARCH_DMA_MINALIGN > 8 #define ARCH_KMALLOC_MINALIGN ARCH_DMA_MINALIGN -- 2.25.1