linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] a few cleanup and bugfixes about shmem
@ 2022-06-06  3:45 Chen Wandun
  2022-06-06  3:45 ` [PATCH v3 1/3] mm/shmem: check return value of shmem_init_inodecache Chen Wandun
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Chen Wandun @ 2022-06-06  3:45 UTC (permalink / raw)
  To: hughd, akpm, linux-mm, linux-kernel, willy, david, wangkefeng.wang
  Cc: chenwandun

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(-)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-06  9:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-06  3:45 [PATCH v3 0/3] a few cleanup and bugfixes about shmem Chen Wandun
2022-06-06  3:45 ` [PATCH v3 1/3] mm/shmem: check return value of shmem_init_inodecache Chen Wandun
2022-06-06  4:19   ` Hugh Dickins
2022-06-06  9:39   ` Muchun Song
2022-06-06  3:45 ` [PATCH v3 2/3] mm/shmem: return error code directly for invalid addr Chen Wandun
2022-06-06  3:45 ` [PATCH v3 3/3] mm/shmem: rework calculation of inflated_addr in shmem_get_unmapped_area Chen Wandun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox