Re: [PATCH] mm: fix comments related to node reclaim

From: Hao Lee
Date: Tue Nov 26 2019 - 09:10:03 EST


On Tue, 26 Nov 2019 at 17:42, Anshuman Khandual
<anshuman.khandual@xxxxxxx> wrote:
> On 11/25/2019 07:50 PM, Hao Lee wrote:
> > --- a/include/uapi/linux/capability.h
> > +++ b/include/uapi/linux/capability.h
> > @@ -273,7 +273,7 @@ struct vfs_ns_cap_data {
> > /* Allow enabling/disabling tagged queuing on SCSI controllers and sending
> > arbitrary SCSI commands */
> > /* Allow setting encryption key on loopback filesystem */
> > -/* Allow setting zone reclaim policy */
> > +/* Allow setting node reclaim policy */
>
> Does this point to the capability for accessing vm.zone_reclaim_mode = 0
> sysctl knob ? In that case we should not be changing the name here as the
> interface still retains the original name 'zone_reclaim_mode'.

Yes. This comment should be consistent with sysctl documentation and
interface. Thanks for your correction!