]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: cpa: simplify locking
authorIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:57 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:57 +0000 (13:33 +0100)
commit9a3dc7804e9856668caef41efc54179e61ffccc0
treea4f154ce7ad556fb5677e154b45747479694482b
parent7afe15b9d888050435cd154906828df88d4e667d
x86: cpa: simplify locking

further simplify cpa locking: since the largepage-split is a
slowpath, use the pgd_lock for the whole operation, intead
of the mmap_sem.

This also makes it suitable for DEBUG_PAGEALLOC purposes again.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/pageattr_32.c