Re: [PATCH 2/3] mm/vmscan: move RECLAIM* bits to uapi header

2020-07-01 Thread David Rientjes
On Wed, 1 Jul 2020, Dave Hansen wrote: > > From: Dave Hansen > > It is currently not obvious that the RECLAIM_* bits are part of the > uapi since they are defined in vmscan.c. Move them to a uapi header > to make it obvious. > > This should have no functional impact. > > Signed-off-by: Dave

Re: [PATCH 2/3] mm/vmscan: move RECLAIM* bits to uapi header

2020-07-01 Thread Dave Hansen
On 7/1/20 8:46 AM, Ben Widawsky wrote: >> +/* >> + * These bit locations are exposed in the vm.zone_reclaim_mode sysctl >> + * ABI. New bits are OK, but existing bits can never change. >> + */ >> +#define RECLAIM_ZONE (1<<0)/* Run shrink_inactive_list on the zone >> */ >> +#define

Re: [PATCH 2/3] mm/vmscan: move RECLAIM* bits to uapi header

2020-07-01 Thread Ben Widawsky
On 20-07-01 08:26:24, Dave Hansen wrote: > > From: Dave Hansen > > It is currently not obvious that the RECLAIM_* bits are part of the > uapi since they are defined in vmscan.c. Move them to a uapi header > to make it obvious. > > This should have no functional impact. > > Signed-off-by:

[PATCH 2/3] mm/vmscan: move RECLAIM* bits to uapi header

2020-07-01 Thread Dave Hansen
From: Dave Hansen It is currently not obvious that the RECLAIM_* bits are part of the uapi since they are defined in vmscan.c. Move them to a uapi header to make it obvious. This should have no functional impact. Signed-off-by: Dave Hansen Cc: Ben Widawsky Cc: Alex Shi Cc: Daniel Wagner