Re: [RFC][PATCH 01/12] mm/vmscan: restore zone_reclaim_mode ABI

2020-10-07 Thread Christopher Lameter
On Tue, 6 Oct 2020, Dave Hansen wrote: > But, when the bit was removed (bit 0) the _other_ bit locations also > got changed. That's not OK because the bit values are documented to > mean one specific thing and users surely rely on them meaning that one > thing and not changing from kernel to kern

[RFC][PATCH 01/12] mm/vmscan: restore zone_reclaim_mode ABI

2020-10-06 Thread Dave Hansen
From: Dave Hansen I went to go add a new RECLAIM_* mode for the zone_reclaim_mode sysctl. Like a good kernel developer, I also went to go update the documentation. I noticed that the bits in the documentation didn't match the bits in the #defines. The VM never explicitly checks the RECLAIM_Z