Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp231219iob; Mon, 2 May 2022 17:57:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLvmHL/y4d4KPP3/tsZAEhMTi850o+1aUlm7H9LmndblG0WoSuFpQidugg6kMS8evFzOJQ X-Received: by 2002:a05:6a00:1808:b0:50e:eee:d78 with SMTP id y8-20020a056a00180800b0050e0eee0d78mr587578pfa.81.1651539440260; Mon, 02 May 2022 17:57:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651539440; cv=none; d=google.com; s=arc-20160816; b=Z46OB1c/v8CXeW1ErgcYJvWdp2Ibi3EPDsc6amFg8UvxIRMMCkfpGPHVoHyyaQ2I8U R4NYx3Dau+wHrGBp1suVzHhu8bZhigXG9NHimUJYVdgn9Ab+0ZJhuSJnVj9hyuTqHzEJ I54WlV1iHObIDzBpvTsYmc+fOROMtcsus0Vb7Xx1w1imBSS9DR7vwHWzQ75BHj7dGylW EEARA/XKpr5Hu7k6cqB/4vypFrIinv4lY79cJfSe4U6fTsGG/LRuond+1uxs9sQxzUU7 5joZkzn1SfhBunlA5Trzp9dcpHWrtBuNOeIKCUo1A0lmzSMgY0Arfhw6264+Dal+VR71 gKEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=TLN93rTB7llJ/DviTuLPV8Vw8InbmxfO6KMnH2jX3Tg=; b=Z1gu6JtRsE8v6uu3p7B/4xL7RIyczIegFz82+ZFRs86MwjM8bx1DFxz3EqlWNIbj3N 7ChaSDmPbBX4O0YapV9bo1Q1BHVPf07pT9q6k9w71a9FSAHJglIUm9PdBmTWkZ1nhmi5 qD5yQDiiD0pqxOWo3q+j09ELywo98P0lxvIlmVhbl5hxgQvpJDpF2qW2dL4o9gSkK5mq yTzb2hH6Id40xFeo8D8uacgeBGWiRSZGzZfrW/yxiUlAwy361fVcrvYX7NH/+bnkLRkV wzBW/7KVpbrUiRN5S6g3CjlPfE9KYOJauWyRuPbmqOgkXBKzt1dR/CA1E8g6Ft/GrRwt c6SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=vNjNDSI2; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="W/XlIb45"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c9-20020a17090ab28900b001d26c2084eesi769295pjr.30.2022.05.02.17.57.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:57:20 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=vNjNDSI2; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="W/XlIb45"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CAD2C3B00D; Mon, 2 May 2022 17:43:22 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350661AbiD2Jol (ORCPT + 99 others); Fri, 29 Apr 2022 05:44:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356676AbiD2Joa (ORCPT ); Fri, 29 Apr 2022 05:44:30 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1DF035AA9 for ; Fri, 29 Apr 2022 02:41:12 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8777F210DB; Fri, 29 Apr 2022 09:41:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1651225271; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TLN93rTB7llJ/DviTuLPV8Vw8InbmxfO6KMnH2jX3Tg=; b=vNjNDSI2Wes8ONnaVEGXMqkr+7o8qgPdZ22+ueEmBrM1qo3apGIpHeHWQ0XaBqrb6krNld LpdM0USytIMix47Y9FPv2h6wkS09vRhtIFiKUDe7sRvZ9gIehJfIfTYNjK8gnwMT8yLT9q qlMKZ6OoCwXf5v8iRyJ6yCTtxtqzSQg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1651225271; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TLN93rTB7llJ/DviTuLPV8Vw8InbmxfO6KMnH2jX3Tg=; b=W/XlIb45DUWyXfJqS2V+DNIWA4NO+UI6p7qCWKXeqsPLz+BmjrTqOEEe4HcYZ/h8nvD6Y+ CG1m+9HRo8Le/EAg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 5874113AE0; Fri, 29 Apr 2022 09:41:11 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id PuvFFLeya2IHCgAAMHmgww (envelope-from ); Fri, 29 Apr 2022 09:41:11 +0000 Message-ID: <6b31f436-5bfb-9d8f-9418-55036f342f2e@suse.cz> Date: Fri, 29 Apr 2022 11:41:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH 1/2] mm: slab: fix comment for ARCH_KMALLOC_MINALIGN Content-Language: en-US To: andrey.konovalov@linux.dev, Andrew Morton Cc: Andrey Konovalov , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Roman Gushchin , Peter Collingbourne , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov References: From: Vlastimil Babka In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 4/28/22 17:59, andrey.konovalov@linux.dev wrote: > 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 Thanks, added both patches to the slab tree. > --- > 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