summaryrefslogtreecommitdiffstats
path: root/mm/fail_page_alloc.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2024-08-06 17:39:27 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-09-02 05:43:32 +0200
commita15bec6a8f2f177e6c1388f23d02436e27994299 (patch)
tree678423dfb76f81995933923dac853a37b89fe052 /mm/fail_page_alloc.c
parentwatchdog: handle the ENODEV failure case of lockup_detector_delay_init() sepa... (diff)
downloadlinux-a15bec6a8f2f177e6c1388f23d02436e27994299.tar.xz
linux-a15bec6a8f2f177e6c1388f23d02436e27994299.zip
lib/rhashtable: cleanup fallback check in bucket_table_alloc()
Upon allocation failure, the current check with the nofail bits is unnecessary, and further stands in the way of discouraging direct use of __GFP_NOFAIL. Remove this and replace with the proper way of determining if doing a non-blocking allocation for the nested table case. Link: https://lkml.kernel.org/r/20240806153927.184515-1-dave@stgolabs.net Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Suggested-by: Michal Hocko <mhocko@suse.com> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/fail_page_alloc.c')
0 files changed, 0 insertions, 0 deletions