]> 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>
Mon, 12 Nov 2012 04:16:58 +0000 (15:16 +1100)
commit5f3aced6271ff181ef01061b6d94902e1bc4ab04
tree2f015065f230262bbe0b01697ac680fad4bef6ee
parent4b7f304bdc8c96c79d1110c9761737dca58d5d8a
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