Messages in this thread | | | Subject | Re: [PATCH v5 5/6] MCS Lock: Restructure the MCS lock defines and locking code into its own file | From | Tim Chen <> | Date | Wed, 25 Sep 2013 08:58:53 -0700 |
| |
On Wed, 2013-09-25 at 07:55 +0200, Peter Zijlstra wrote: > On Tue, Sep 24, 2013 at 03:22:46PM -0700, Tim Chen wrote: > > We will need the MCS lock code for doing optimistic spinning for rwsem. > > Extracting the MCS code from mutex.c and put into its own file allow us > > to reuse this code easily for rwsem. > > > > Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com> > > Signed-off-by: Davidlohr Bueso <davidlohr@hp.com> > > --- > > kernel/mutex.c | 58 ++++++------------------------------------------------- > > 1 files changed, 7 insertions(+), 51 deletions(-) > > Wasn't this patch supposed to add include/linux/mcslock.h ?
Thanks for catching it. I will correct it.
Tim
| |