]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Pass GFP flags from callers
authorMatthew Wilcox <willy@infradead.org>
Sat, 1 Dec 2018 15:20:35 +0000 (10:20 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sat, 1 Dec 2018 17:14:13 +0000 (12:14 -0500)
commit6c3e81c192902ea84bc9d872553e875ef41e32c2
treef97df9bdc78035a64164091c5d321ead93c9aaf6
parent406555dcd189feea7eb8a7d530b522d000590af3
maple_tree: Pass GFP flags from callers

The API needs to allow the callers to specify GFP flags as some users
will not be able to tolerate sleeping.  There's no need for GFP flags
for erase, load or destroy as those do not need to allocate memory.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
include/linux/maple_tree.h
lib/maple_tree.c
lib/test_maple_tree.c