From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754818Ab3IYF41 (ORCPT ); Wed, 25 Sep 2013 01:56:27 -0400 Received: from merlin.infradead.org ([205.233.59.134]:38007 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751281Ab3IYF40 (ORCPT ); Wed, 25 Sep 2013 01:56:26 -0400 Date: Wed, 25 Sep 2013 07:55:56 +0200 From: Peter Zijlstra To: Tim Chen Cc: Ingo Molnar , Andrew Morton , Andrea Arcangeli , Alex Shi , Andi Kleen , Michel Lespinasse , Davidlohr Bueso , Matthew R Wilcox , Dave Hansen , Rik van Riel , Peter Hurley , linux-kernel@vger.kernel.org, linux-mm Subject: Re: [PATCH v5 5/6] MCS Lock: Restructure the MCS lock defines and locking code into its own file Message-ID: <20130925055556.GA3081@twins.programming.kicks-ass.net> References: <1380061366.3467.54.camel@schen9-DESK> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1380061366.3467.54.camel@schen9-DESK> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Signed-off-by: Davidlohr Bueso > --- > kernel/mutex.c | 58 ++++++------------------------------------------------- > 1 files changed, 7 insertions(+), 51 deletions(-) Wasn't this patch supposed to add include/linux/mcslock.h ?