mm/page_alloc: use might_alloc()
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 5 Jun 2022 15:25:37 +0000 (17:25 +0200)
committerakpm <akpm@linux-foundation.org>
Fri, 17 Jun 2022 02:48:29 +0000 (19:48 -0700)
commit446ec83805ddaab5b8734d30ba4ae8c56739a9b4
tree8f8f3a65fa6bf8edd49b2890b79449e5f5ed4034
parent9384d79249d04b03572abb7e551a35d99c9268c0
mm/page_alloc: use might_alloc()

...  instead of open coding it.  Completely equivalent code, just a notch
more meaningful when reading.

Link: https://lkml.kernel.org/r/20220605152539.3196045-1-daniel.vetter@ffwll.ch
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Christoph Lameter <cl@linux.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c