[PATCH 0/3] One fix for /proc/<pid>/numa_maps and two RFCs

Tvrtko Ursulin posted 3 patches 1 year, 7 months ago
mm/mempolicy.c | 123 ++++++++++++++++++++++++++++++++++++-------------
1 file changed, 92 insertions(+), 31 deletions(-)
[PATCH 0/3] One fix for /proc/<pid>/numa_maps and two RFCs
Posted by Tvrtko Ursulin 1 year, 7 months ago
From: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>

Hi all,

First patch fixes the issue where NUMA balancing mode was wrongly shown
'default' and is small and so hopefully backportable to stable.c

Second two patches are more like RFC. Although they work I am not 100% sure of
their benefit. Especially the last patch which enables turning on NUMA balancing
with tmpfs. Second one at least makes the flag handling a bit more robust in the
sense that it can prevent future mistakes.

Comments and opinions are welcome!

Cc: Huang Ying <ying.huang@intel.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>

Tvrtko Ursulin (3):
  mm/numa_balancing: Teach mpol_to_str about the balancing mode
  mm/mempolicy: Use flags lookup array in mpol_to_str
  mm/numa_balancing: Allow setting numa balancing for tmpfs

 mm/mempolicy.c | 123 ++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 92 insertions(+), 31 deletions(-)

-- 
2.44.0