Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752868AbbBXQzw (ORCPT ); Tue, 24 Feb 2015 11:55:52 -0500 Received: from Chamillionaire.breakpoint.cc ([80.244.247.6]:40022 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752699AbbBXQzv (ORCPT ); Tue, 24 Feb 2015 11:55:51 -0500 Date: Tue, 24 Feb 2015 17:55:40 +0100 From: Sebastian Andrzej Siewior To: Mel Gorman , Peter Zijlstra Cc: Thomas Gleixner , Chris Mason , Chris Mason , LKML , Sebastian Sewior Subject: Re: [RFC PATCH] futex: Remove requirement for lock_page in get_futex_key Message-ID: <20150224165540.GA32264@breakpoint.cc> References: <20131029173814.GH2400@suse.de> <20131030092611.GJ2400@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1451 Lines: 32 On 2014-02-11 16:51:55 [+0100], Thomas Gleixner wrote: > On Wed, 30 Oct 2013, Mel Gorman wrote: > > On Wed, Oct 30, 2013 at 09:45:31AM +0100, Thomas Gleixner wrote: > > > On Tue, 29 Oct 2013, Mel Gorman wrote: > > > > Patch boots and futextest did not explode but I did no comparison > > > > performance tests. Thomas, do you have details of the workload that > > > > drove you to examine this problem? Alternatively, can you test it and > > > The scenario is simple. All you need is a PSHARED futex. > > > > > > Task A > > > get_futex_key() > > > lock_page() > > > > > > ---> preemption > > > > > Do please. I'd rather not sink time into trying to reproduce a hypothetical > > problem when people who are already familiar with it can provide better > Took some time, but the folks finally came around to give it a try and > it fixes their problem. I did not explode either, but I doubt, that > their workload can trigger any of the corner cases. I just stumbled uppon this patch and now I am curious about its status. tglx said that it solves the problem in question (with doubt of triggering all the corner cases). Chris pointed out that moving put_page() might be worth doing. Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/