git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da1c67a
)
mempool: add unlikely and likely hints
author
Mikulas Patocka
<mpatocka@redhat.com>
Mon, 7 Apr 2014 22:37:35 +0000
(15:37 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 7 Apr 2014 23:35:55 +0000
(16:35 -0700)
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>
mm/mempool.c
patch
|
blob
|
history
diff --cc
mm/mempool.c
Simple merge