mm: vmalloc use mutex for purge
authorNick Piggin <npiggin@suse.de>
Tue, 6 Jan 2009 22:39:19 +0000 (14:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:01 +0000 (15:59 -0800)
commite97a630eb0f5b8b380fd67504de6cedebb489003
tree52e337eafeb386b97630e7ffe2697550e589afc3
parent848778483351e90f9a2c587bdbe0c78b17c1e30b
mm: vmalloc use mutex for purge

The vmalloc purge lock can be a mutex so we can sleep while a purge is
going on (purge involves a global kernel TLB invalidate, so it can take
quite a while).

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c