]> 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>
Tue, 13 Nov 2012 05:15:24 +0000 (16:15 +1100)
commitca0d2e0e7652c1950f1226a717857d3697233f60
tree8821020db19b2b835e870f4cb4b4143b5a034ac9
parent7febe45ed79b626921ca5a653380d70da984a239
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