mbox series

[RFC,v2,0/4] mm/mempolicy: some fix and semantics cleanup

Message ID 1621499404-67756-1-git-send-email-feng.tang@intel.com (mailing list archive)
Headers show
Series mm/mempolicy: some fix and semantics cleanup | expand

Message

Feng Tang May 20, 2021, 8:30 a.m. UTC
Hi All,

We've posted v4 patchset introducing a new "perfer-many" memory policy
https://lore.kernel.org/lkml/1615952410-36895-1-git-send-email-feng.tang@intel.com/ ,
for which Michal Hocko gave many comments while pointing out some
problems, and we also found some semantics confusion about 'prefer'
and 'local' policy, as well as some duplicated code. This patchset
tries to address them. Please help to review, thanks!

- Feng


Feng Tang (4):
  mm/mempolicy: skip nodemask intersect check for 'interleave' when oom
  mm/mempolicy: unify the preprocessing for mbind and set_mempolicy
  mm/mempolicy: don't handle MPOL_LOCAL like a fake MPOL_PREFERRED
    policy
  mm/mempolicy: kill MPOL_F_LOCAL bit

 include/uapi/linux/mempolicy.h |   1 +
 mm/mempolicy.c                 | 205 +++++++++++++++++++----------------------
 2 files changed, 98 insertions(+), 108 deletions(-)