]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm, highmem: remove useless pool_lock
authorJoonsoo Kim <js1304@gmail.com>
Sat, 3 Nov 2012 00:42:21 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 8 Nov 2012 04:08:36 +0000 (15:08 +1100)
commit58c0ea175cf4ee97daf8a4dc0da7a596875affd3
tree35e7d2d964875832e8c92875c0010ba1692df11d
parent52d2a32ab67af34a284f00fe589c0894eae86c96
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