diff options
author | Benjamin LaHaise <bcrl@kvack.org> | 2005-06-23 00:10:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 09:45:29 -0700 |
commit | 01890a4c120f68366441bf5e193d1b9dd543d4d0 (patch) | |
tree | ed854da46009b0837485e8acd17dc9d944e8068f /mm/swap_state.c | |
parent | 8476994af7bd9352ecdf61ba760f7397f54e30a1 (diff) | |
download | linux-stable-01890a4c120f68366441bf5e193d1b9dd543d4d0.tar.gz linux-stable-01890a4c120f68366441bf5e193d1b9dd543d4d0.tar.bz2 linux-stable-01890a4c120f68366441bf5e193d1b9dd543d4d0.zip |
[PATCH] mempool - only init waitqueue in slow path
Here's a small patch to improve the performance of mempool_alloc by only
initializing the wait queue when we're about to wait.
Signed-off-by: Benjamin LaHaise <benjamin.c.lahaise@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions