]> www.infradead.org Git - users/willy/linux.git/commit
mm: Add memalloc_nowait memalloc
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 31 Mar 2020 12:31:05 +0000 (08:31 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 24 Jun 2020 16:59:09 +0000 (12:59 -0400)
commite2815a59e041cfe5c904ddcc017f9d94e5eec2d5
tree5f8bc5fbfc6bada76faee6163b9ee3beb2af73f3
parent910c4382d4fbc462af264a8ca3c81e2b58f4a6d4
mm: Add memalloc_nowait

Similar to memalloc_noio() and memalloc_nofs(), memalloc_nowait()
guarantees we will not sleep to reclaim memory.  Use it to simplify
dm-bufio's allocations.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
drivers/md/dm-bufio.c
include/linux/sched.h
include/linux/sched/mm.h