Messages in this thread | | | Date | Wed, 25 Sep 2013 07:55:56 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH v5 5/6] MCS Lock: Restructure the MCS lock defines and locking code into its own file |
| |
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 ?
| |