summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2014-04-08 00:37:35 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-08 01:35:55 +0200
commiteb9a3c62a0b6064c7f7e5b961ce00c646d21cb78 (patch)
treefecb27f0ba700b13c2b05364159c4230589b0099 /mm/vmalloc.c
parentmm, compaction: determine isolation mode only once (diff)
downloadlinux-eb9a3c62a0b6064c7f7e5b961ce00c646d21cb78.tar.xz
linux-eb9a3c62a0b6064c7f7e5b961ce00c646d21cb78.zip
mempool: add unlikely and likely hints
Add unlikely and likely hints to the function mempool_free. It lays out the code in such a way that the common path is executed straighforward and saves a cache line. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions