RE: [PATCH v3 4/4] mm/slub: correct the default value of slub_min_objects in doc

From: Song, Xiongwei
Date: Thu Dec 14 2023 - 09:12:15 EST




> -----Original Message-----
> From: Vlastimil Babka <vbabka@xxxxxxx>
> Sent: Wednesday, December 13, 2023 7:23 PM
> To: Song, Xiongwei <Xiongwei.Song@xxxxxxxxxxxxx>; sxwjean@xxxxxx;
> 42.hyeyoo@xxxxxxxxx; cl@xxxxxxxxx; linux-mm@xxxxxxxxx
> Cc: penberg@xxxxxxxxxx; rientjes@xxxxxxxxxx; iamjoonsoo.kim@xxxxxxx;
> roman.gushchin@xxxxxxxxx; corbet@xxxxxxx; keescook@xxxxxxxxxxxx; arnd@xxxxxxxx;
> akpm@xxxxxxxxxxxxxxxxxxxx; gregkh@xxxxxxxxxxxxxxxxxxx; linux-doc@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH v3 4/4] mm/slub: correct the default value of slub_min_objects in doc
>
>
> On 12/9/23 14:59, Song, Xiongwei wrote:
> > I didn't change description as you mentioned because slab_min_objects doesn't
> > save the calculated value based on the number of processors, but the local
> > variables min_objects doesn't.
>
> Hm I think that's less helpful. The user/admin who will read the doc doesn't
> care about implementation details such as value of a variable, but what's
> the actual observable default behavior, and that is still the automatic
> scaling, right?

Ok, sure. Will update.

Thanks.