]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm, highmem: remove useless pool_lock
authorJoonsoo Kim <js1304@gmail.com>
Fri, 9 Nov 2012 03:04:06 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Nov 2012 03:08:36 +0000 (14:08 +1100)
commit93c4ceb0431d7c4f80a1718bf498a20fe2553446
tree92ea0c377fbe1e2768a79841284d41bc2ec3f9cb
parent853dc479e7120fab4423417eadf4bc6ff9caeaee
mm, highmem: remove useless pool_lock

The pool_lock protects the page_address_pool from concurrent access.  But,
access to the page_address_pool is already protected by kmap_lock.  So
remove it.

Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: Minchan Kin <minchan@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/highmem.c