mm/mempolicy: some fix and semantics cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 19 repliesIn review
Changes in v1 from the cover letter
* use helper func instead of macro for patch 2/4 (David Rientjes)
* fix a possible null pointer case in patch 3/4
* update commit log for 1/4
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mm/mempolicy: skip nodemask intersect check for 'interleave' when oommm/ | +4 | 4 replies | |
| 2/4 | mm/mempolicy: unify the preprocessing for mbind and set_mempolicymm/ | +24 | 2 replies | |
| 3/4 | mm/mempolicy: don't handle MPOL_LOCAL like a fake MPOL_PREFERRED policymm/ | +39 | 3 replies | |
| 4/4 | mm/mempolicy: kill MPOL_F_LOCAL bitinclude/ mm/ | +43 | 10 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Andi Kleen | Michal Hocko |
|---|---|---|
| 1/4 | ||
| 2/4 | ||
| 3/4 | A-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/4] mm/mempolicy: some fix and semantics cleanup
Hi All,
We've posted v4 patchset introducing a new "perfer-many" memory policy
https://lore.kernel.org/lkml/[email protected]/ , 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!
The patchset has been run with some sanity test like 'stress-ng' and 'ltp', and no problem found.
- Feng
Changelogs:
v1:
* use helper func instead of macro for patch 2/4 (David Rientjes)
* fix a possible null pointer case in patch 3/4
* update commit log for 1/4
RFC v2:
* add for oom check fix patch 1/4
* add the unification patch for mpol preprocess 2/4
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 | 208 +++++++++++++++++++++-------------------- 2 files changed, 109 insertions(+), 100 deletions(-)
Signature · 1 line
2.7.4