]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/dmapool: use might_alloc()
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 26 Feb 2021 01:18:41 +0000 (17:18 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Feb 2021 17:41:01 +0000 (09:41 -0800)
commit0f2f89b6de32de49373040eb4ee9d6bc1930ae5a
tree18457106c2df3532b0048bdbebed5b811b9daf4f
parent4be408cec257d1156d35647db57726f5ef977630
mm/dmapool: use might_alloc()

Now that my little helper has landed, use it more.  On top of the existing
check this also uses lockdep through the fs_reclaim annotations.

Link: https://lkml.kernel.org/r/20210113135009.3606813-1-daniel.vetter@ffwll.ch
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/dmapool.c