Re: [PATCH] x86/mm/fault: Put pgd_lock in its own cacheline

2015-06-11 Thread Ingo Molnar
* Waiman Long wrote: > On a large system with many cores, massive creation or destruction > of processes/threads can sometime cause a fair amount of spinlock > contention in the pgd_lock used by the pgd_alloc() and pgd_free() > functions. This patch tries to reduce false cacheline sharing by > p

[PATCH] x86/mm/fault: Put pgd_lock in its own cacheline

2015-06-10 Thread Waiman Long
On a large system with many cores, massive creation or destruction of processes/threads can sometime cause a fair amount of spinlock contention in the pgd_lock used by the pgd_alloc() and pgd_free() functions. This patch tries to reduce false cacheline sharing by putting the pgd_lock in its own cac