[PATCH] ubifs: remove SLAB_MEM_SPREAD flag usage

Chengming Zhou chengming.zhou at linux.dev
Sun Feb 25 18:46:01 PST 2024


On 2024/2/26 04:36, Richard Weinberger wrote:
> ----- Ursprüngliche Mail -----
>> Von: "chengming zhou" <chengming.zhou at linux.dev>
>> An: "richard" <richard at nod.at>
>> CC: "linux-mtd" <linux-mtd at lists.infradead.org>, "linux-kernel" <linux-kernel at vger.kernel.org>, "linux-mm"
>> <linux-mm at kvack.org>, vbabka at suse.cz, "roman gushchin" <roman.gushchin at linux.dev>, "Xiongwei Song"
>> <Xiongwei.Song at windriver.com>, "chengming zhou" <chengming.zhou at linux.dev>, "Chengming Zhou"
>> <zhouchengming at bytedance.com>
>> Gesendet: Samstag, 24. Februar 2024 14:52:17
>> Betreff: [PATCH] ubifs: remove SLAB_MEM_SPREAD flag usage
> 
>> From: Chengming Zhou <zhouchengming at bytedance.com>
>>
>> The SLAB_MEM_SPREAD flag is already a no-op as of 6.8-rc1, remove
>> its usage so we can delete it from slab. No functional change.
>>
>> Signed-off-by: Chengming Zhou <zhouchengming at bytedance.com>
> 
> Applied.
> Next time please add a reference that makes very clear why such a flag
> is no longer needed.
> It took me a few minutes to figure why SLAB_MEM_SPREAD is
> now a no-op.

Update changelog to make it clearer:

The SLAB_MEM_SPREAD flag used to be implemented in SLAB, which was
removed as of v6.8-rc1, so it became a dead flag. And the series[1]
went on to mark it obsolete to avoid confusion for users. Here we
can just remove all its users, which has no functional change.

[1] https://lore.kernel.org/all/20240223-slab-cleanup-flags-v2-1-02f1753e8303@suse.cz/

Thanks!

> 
> Thanks,
> //richard



More information about the linux-mtd mailing list