Skip to content

a few cleanup and bugfixes about shmem

Chen Wandun linux-mm lkml 3 versions – NAK

Status from this message: NACK, we cannot dereference a NULL pointer since SLAB_PANIC is passed

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesNAK
  2. v23 patches 4 repliesSuperseded
  3. v14 patches 5 repliesSuperseded

Patches in v3

#Subject and filesSizeRepliesApplied
1/3mm/shmem: check return value of shmem_init_inodecachemm/shmem.c+9 -22 replies
2/3mm/shmem: return error code directly for invalid addrmm/shmem.c+4 -40 replies
3/3mm/shmem: rework calculation of inflated_addr in shmem_get_unmapped_areamm/shmem.c+5 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] a few cleanup and bugfixes about shmem

v2 ==> v3:
patch1 return the errno from shmem_init_inodecache instead of NULL on failure.

v1 ==> v2:
combine patch2 and patch3 into a single patch.

Chen Wandun (3):
mm/shmem: check return value of shmem_init_inodecache mm/shmem: return error code directly for invalid addr mm/shmem: rework calculation of inflated_addr in
shmem_get_unmapped_area

 mm/shmem.c | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)
Signature · 1 line
2.25.1