Re: [PATCH v7 6/6] MCS Lock: add Kconfig entries to allow arch-specific hooks

2014-01-21 Thread Peter Zijlstra
On Mon, Jan 20, 2014 at 03:31:57PM -0800, Tim Chen wrote: > On Mon, 2014-01-20 at 13:30 +0100, Peter Zijlstra wrote: > > Then again, people seem to whinge if you don't keep these Kbuild files > > sorted, but manually sorting 29 files is just not something I like to > > do. > Can you clarify what

Re: [PATCH v7 6/6] MCS Lock: add Kconfig entries to allow arch-specific hooks

2014-01-20 Thread Tim Chen
On Mon, 2014-01-20 at 13:30 +0100, Peter Zijlstra wrote: > > Then again, people seem to whinge if you don't keep these Kbuild files > sorted, but manually sorting 29 files is just not something I like to > do. > Peter, Can you clarify what exactly needs to be sorted? The Kbuild files spit out

Re: [PATCH v7 6/6] MCS Lock: add Kconfig entries to allow arch-specific hooks

2014-01-20 Thread Peter Zijlstra
On Mon, Jan 20, 2014 at 01:30:30PM +0100, Peter Zijlstra wrote: > Then again, people seem to whinge if you don't keep these Kbuild files > sorted, but manually sorting 29 files is just not something I like to > do. This seems to do it.. gawk '/^generic-y/ { i = 3; do {

Re: [PATCH v7 6/6] MCS Lock: add Kconfig entries to allow arch-specific hooks

2014-01-20 Thread Peter Zijlstra
On Thu, Jan 16, 2014 at 04:08:36PM -0800, Tim Chen wrote: > This patch adds Kconfig entries to allow architectures to hook into the > MCS lock/unlock functions in the contended case. > > From: Will Deacon > Signed-off-by: Will Deacon > --- > arch/Kconfig | 3 +++ > include/linux

Re: [PATCH v7 6/6] MCS Lock: add Kconfig entries to allow arch-specific hooks

2014-01-19 Thread Paul E. McKenney
On Thu, Jan 16, 2014 at 04:08:36PM -0800, Tim Chen wrote: > This patch adds Kconfig entries to allow architectures to hook into the > MCS lock/unlock functions in the contended case. > > From: Will Deacon > Signed-off-by: Will Deacon Reviewed-by: Paul E. McKenney > --- > arch/Kconfig