Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp315062rbb; Sat, 24 Feb 2024 01:33:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWJLaa57bwDF+YsV5FKutdrxhAwSio4uCNVEoDcN9A6RmCD/h/jNIEUGGGYPe9Ymbhp6BpqGE8hjZb2NLppfdThvQ+F0Jm6Q27+CDzpdQ== X-Google-Smtp-Source: AGHT+IE+Q/g5HyVLiplrJ66g7xG3V/YPTNK4Bt8LeTjJx3lrsRAKJ7vZzl5QxWDAzdudp6ftSP6b X-Received: by 2002:a05:6358:1092:b0:17b:7abd:89ce with SMTP id j18-20020a056358109200b0017b7abd89cemr2882795rwi.26.1708767188494; Sat, 24 Feb 2024 01:33:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708767188; cv=pass; d=google.com; s=arc-20160816; b=BwQQUYoUVtSjm4zLReGiHc0PK0Hf0zHuRtdv/xKpemL1V7qlhNoTzFrZP2JKZsEwQJ vb+IsmfzZaKqmlOaKa9uRV5CxikKpwTYrr4F0g1WwX5eUck1Z6Xckjt8ykb44CoauPJX 1RGJjltpuSt3QKdKn1HQLR0KkthuVVVl+Qym+Q+Yh2iG7wC7R+4r8EonoyvO8XE3bK6Y TkWiBV27b72MU7imjAvu4nV85JiIE50hHkokDkV1/7iZNwT8w9vlbc1vGowhqZI96XqH vFLUxIJkMN70DYga5SxgfnZLyYHvjUa59SwzPlHQjKc9mW44aiBSqj62GU+JKOW+D04S yQ9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature:message-id; bh=w5CbQ+eZHnRkInbsJ83G0MenQ1/0DqwIekM9Cx5ZW3Q=; fh=5+7/iP/2zpuwgTD/2mJdFxlM7TX8/1LSr7e8kRbg4Ik=; b=Csgv1YPM9fwBiN7O9vBnjUk8dFugVYiq4HnnoVYFMqZ/KPeKLtvxSRpMPsFSfahJtt Q4uJ3/7WrP6HMaAodBExgsSVCkt2OlUgMksBjH+PExPPLg94+zRbP1bx/0RGBkbIf9EQ 1N/5RMru7X3QzVlbRu0NoixiYP1JNuphPZAkuRnsSllqbl4XtXXox6m2E7bIWSvgC+r4 UXbbJYwSmGhxjsVI9SXavxr/fByvE+LORKjRqdpycB7iBiBRRlLdrIjit0EjJexRHeua 8cB5Q7kNYKtyaQb43FEFAXj4UEG5IFNvAwXA0j8PDnPNy81zoP2o5KQNjRSrvUCtBw6t K73A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="U/5SIqsF"; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-79545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w64-20020a636243000000b005d8c06e15e6si650623pgb.533.2024.02.24.01.33.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 01:33:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="U/5SIqsF"; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-79545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2865C284151 for ; Sat, 24 Feb 2024 09:33:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 258CD1AADF; Sat, 24 Feb 2024 09:33:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="U/5SIqsF" Received: from out-176.mta0.migadu.com (out-176.mta0.migadu.com [91.218.175.176]) (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 C039817995 for ; Sat, 24 Feb 2024 09:33:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708767182; cv=none; b=EN99949+HggsxAJEYubyaKl3TZbAVz4N4vOka1du/PnPcUqqKLSIGSajyej4QXVINOZPhzHlUbBw1W0rHQ4pcwA3ZB1mjot2Oe4AsuS73kZJF8HhjZe8y+zj7BF4xg0k35+KKXzZjDHyqkkUDoFCQDheCsDszMUYpfVRh68eHMk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708767182; c=relaxed/simple; bh=yobnoCxe2oqRMlBuWssGh9lK2tMG7dzpuL0hIybyM5g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RSp8WD0WHmsiYcPLFSI8rKRIq/IL2v+9HmMOW3iGdO/dqT/sU30e21gCjdXyr+g9bHE2pp+ptl9owD8H7wBid4EflzhyP+v21lbQ8mmHa4ENPmIq5AWx80mUSvzy3M1ifNV2owhB8PQWYtRiEa6Qal9I/5ZGfTVPCHCXTRa68Ec= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=U/5SIqsF; arc=none smtp.client-ip=91.218.175.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1708767178; h=from:from:reply-to:subject:subject: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=w5CbQ+eZHnRkInbsJ83G0MenQ1/0DqwIekM9Cx5ZW3Q=; b=U/5SIqsFSOxdX9GeE99DeSkUhKxMm/M0NSpx9+5xsxSOO1n5b15ZC8EFMT+rEzKVxB4Lt+ VrjYjDqNIBkmBxH6SyVOb3vrsFc+QTsASp9Ec7GM5Edjh5YRJoWkpBSv6csOOnIZYHvMTC ZWvRiGBP7jrM7SjZDQUBn/z6wegbKOw= Date: Sat, 24 Feb 2024 17:32:20 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH 1/3] mm, slab: deprecate SLAB_MEM_SPREAD flag Content-Language: en-US To: Vlastimil Babka , "Song, Xiongwei" , Roman Gushchin Cc: Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , Zheng Yejian , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "kasan-dev@googlegroups.com" , Steven Rostedt References: <20240220-slab-cleanup-flags-v1-0-e657e373944a@suse.cz> <20240220-slab-cleanup-flags-v1-1-e657e373944a@suse.cz> <7e27b853-e10f-4034-bc81-2d5e5a03361a@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Chengming Zhou In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 2024/2/24 00:41, Vlastimil Babka wrote: > On 2/22/24 03:32, Chengming Zhou wrote: >> On 2024/2/22 09:10, Song, Xiongwei wrote: >>> Hi Vlastimil, >>> >>>> On Tue, Feb 20, 2024 at 05:58:25PM +0100, Vlastimil Babka wrote: >>>> 0;95;0c> The SLAB_MEM_SPREAD flag used to be implemented in SLAB, which was >>>>> removed. SLUB instead relies on the page allocator's NUMA policies. >>>>> Change the flag's value to 0 to free up the value it had, and mark it >>>>> for full removal once all users are gone. >>>>> >>>>> Reported-by: Steven Rostedt >>>>> Closes: https://lore.kernel.org/all/20240131172027.10f64405@gandalf.local.home/ >>>>> Signed-off-by: Vlastimil Babka >>>> >>>> Reviewed-by: Roman Gushchin >>>> >>>> Do you plan to follow up with a patch series removing all usages? >>> >>> If you are not available with it, I can do. >> >> Actually, I have done it yesterday. Sorry, I just forgot this task. :) >> >> I plan to send out it after this series merged in the slab branch. And >> I'm wondering is it better to put all diffs in one huge patch or split >> every diff to each patch? > > I'd suggest you do a patch per subsystem (mostly different filesystems) and > send them out to respective maintainers to pick in their trees. I've talked > to David from btrfs and he suggested this way. Ok, will send out individually. > > You don't need to wait for this series to be merged. The flag is already a > no-op as of 6.8-rc1. Also I'd suggest sending the patches individually. In a > series they wouldn't depend on each other anyway, and you would either have > to Cc maintainers separately per patch of the series, or everyone on > everything, and there would always be somebody who would prefer the other > way that you pick. Right, thanks for your instructions! > >> Thanks! >