]> git.baikalelectronics.ru Git - kernel.git/commit
jfs: microoptimize get_zeroed_page / virt_to_page
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 2 Jan 2016 19:22:04 +0000 (14:22 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Jan 2016 15:29:28 +0000 (10:29 -0500)
commit5a9336a59b4ee84347888955069b5355d83fb4c6
tree0931ab7c56068073b12ec74b39dd479c42de2fe6
parentbc28cef154a784ce3c9ad3d2ffb96f5847dee642
jfs: microoptimize get_zeroed_page / virt_to_page

get_zeroed_page does alloc_page and returns page_address of the result;
subsequent virt_to_page will recover the page, but since the caller
needs both page and its page_address() anyway, why bother going through
that wrapper at all?

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/jfs/jfs_logmgr.c