Re: [RFC PATCH 00/12] x86/mm: Implement lockless pgd_alloc()/pgd_free()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ I fat-fingered the linux-mm Cc:, so every reply will bounce on that,
  sorry about that  :-/ Fixed it in this mail's Cc: list. ]

* Ingo Molnar <mingo@xxxxxxxxxx> wrote:

> Waiman Long reported 'pgd_lock' contention on high CPU count systems and 
> proposed moving pgd_lock on a separate cacheline to eliminate false sharing and 
> to reduce some of the lock bouncing overhead.

So 'pgd_lock' is a global lock, used for every new task creation:

arch/x86/mm/fault.c:DEFINE_SPINLOCK(pgd_lock);

which with a sufficiently high CPU count starts to hurt.

Thanks,

	Ingo

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]