]> git.baikalelectronics.ru Git - kernel.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)
commit7045c2ec61b12ec541ce73760c9604b5fd84e074
treea4f154ce7ad556fb5677e154b45747479694482b
parentf588e4a173e99e9df61b22768c2d26974f94ce8f
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