aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memcontrol.h
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2015-11-05 18:48:52 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-05 19:34:48 -0800
commita2c1aad3b5fccbb948878b75f9b8f13248666fd6 (patch)
tree0fcd7d2cdf6cf11521f0bb9667ff0cd9ef2350d1 /include/linux/memcontrol.h
parentinclude/linux/vm_event_item.h: change HIGHMEM_ZONE macro definition (diff)
downloadlinux-dev-a2c1aad3b5fccbb948878b75f9b8f13248666fd6.tar.xz
linux-dev-a2c1aad3b5fccbb948878b75f9b8f13248666fd6.zip
mm/vmacache: inline vmacache_valid_mm()
This function incurs in very hot paths and merely does a few loads for validity check. Lets inline it, such that we can save the function call overhead. (akpm: this is cosmetic - the compiler already inlines vmacache_valid_mm()) Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/memcontrol.h')
0 files changed, 0 insertions, 0 deletions