diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2016-07-26 22:26:02 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-26 23:19:19 (GMT) |
commit | c78c66d1ddfdbd2353f3fcfeba0268524537b096 (patch) | |
tree | ad77c4f365bd7f84203b9d5f53274016657bc00f /firmware/radeon | |
parent | e2f0a0db95979a4aa951d883248da9d361507abf (diff) | |
download | linux-c78c66d1ddfdbd2353f3fcfeba0268524537b096.tar.xz |
radix-tree: implement radix_tree_maybe_preload_order()
The new helper is similar to radix_tree_maybe_preload(), but tries to
preload number of nodes required to insert (1 << order) continuous
naturally-aligned elements.
This is required to push huge pages into pagecache.
Link: http://lkml.kernel.org/r/1466021202-61880-24-git-send-email-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/radeon')
0 files changed, 0 insertions, 0 deletions