]> git.baikalelectronics.ru Git - kernel.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)
commit77552000b075496f8c6b889a97238a8b694c1405
tree18457106c2df3532b0048bdbebed5b811b9daf4f
parent16dc8f1a3b83c81128c98192415b22cee847134f
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