Skip to content

mm: mempolicy: the failure processing about mpol_to_str()

Chen Gang linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm/mempolicy.c: still fill buffer as full as possible when buffer space is not enough in mpol_to_str()mm/mempolicy.c+10 -40 replies
1/3fs/proc/task_mmu.c: check the return value of mpol_to_str()fs/proc/task_mmu.c+3 -10 replies
2/3fs/proc/task_mmu.c: check the return value of mpol_to_str()fs/proc/task_mmu.c+14 -20 replies
2/3mm/shmem.c: let shmem_show_mpol() return value.mm/shmem.c+6 -538 replies
3/3mm/shmem.c: check the return value of mpol_to_str()mm/shmem.c+14 -10 replies
3/3mm/shmem.c: check the return value of mpol_to_str()mm/shmem.c+4 -10 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchCyrill Gorcunov
SeriesR-b
1/3
1/3
2/3R-b R-b
2/3R-b R-b
3/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] mm: mempolicy: the failure processing about mpol_to_str()

For the implementation (patch 1/3), need fill buffer as full as possible when buffer space is not enough.

For the caller (patch 2/3, 3/3), need check the return value of mpol_to_str().

---
 fs/proc/task_mmu.c |   16 ++++++++++++++--
 mm/mempolicy.c     |   14 ++++++++++----
 mm/shmem.c         |   15 ++++++++++++++-
 3 files changed, 38 insertions(+), 7 deletions(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>