Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758922AbaGBB3Q (ORCPT ); Tue, 1 Jul 2014 21:29:16 -0400 Received: from cantor2.suse.de ([195.135.220.15]:44506 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751127AbaGBB3O (ORCPT ); Tue, 1 Jul 2014 21:29:14 -0400 Date: Wed, 2 Jul 2014 11:28:58 +1000 From: NeilBrown To: Ingo Molnar Cc: Peter Zijlstra , Oleg Nesterov , David Howells , Steven Whitehouse , dm-devel@redhat.com, Chris Mason , Josef Bacik , Steve French , "Theodore Ts'o" , Trond Myklebust , Ingo Molnar , Roland McGrath , Andrew Morton , linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds Subject: Re: [PATCH] SCHED: remove proliferation of wait_on_bit action functions. Message-ID: <20140702112858.12c8a504@notabene.brown> In-Reply-To: <20140606060419.GA3737@gmail.com> References: <20140501123738.3e64b2d2@notabene.brown> <20140522090502.GB30094@gmail.com> <20140522195056.445f2dcb@notabene.brown> <20140605124509.GA1975@gmail.com> <20140606102303.09ef9fb3@notabene.brown> <20140606060419.GA3737@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/=QYeP+QY288.xRlZtBKJOUE"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/=QYeP+QY288.xRlZtBKJOUE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 6 Jun 2014 08:04:19 +0200 Ingo Molnar wrote: >=20 > * NeilBrown wrote: >=20 > > On Thu, 5 Jun 2014 14:45:09 +0200 Ingo Molnar wrote: > >=20 > > >=20 > > > * NeilBrown wrote: > > >=20 > > > > On Thu, 22 May 2014 11:05:02 +0200 Ingo Molnar w= rote: > > > >=20 > > > > >=20 > > > > > * NeilBrown wrote: > > > > >=20 > > > > > > [[ get_maintainer.pl suggested 61 email address for this patch. > > > > > > I've trimmed that list somewhat. Hope I didn't miss anyone > > > > > > important... > > > > > > I'm hoping it will go in through the scheduler tree, but wou= ld > > > > > > particularly like an Acked-by for the fscache parts. Other = acks > > > > > > welcome. > > > > > > ]] > > > > > >=20 > > > > > > The current "wait_on_bit" interface requires an 'action' functi= on > > > > > > to be provided which does the actual waiting. > > > > > > There are over 20 such functions, many of them identical. > > > > > > Most cases can be satisfied by one of just two functions, one > > > > > > which uses io_schedule() and one which just uses schedule(). > > > > > >=20 > > > > > > So: > > > > > > Rename wait_on_bit and wait_on_bit_lock to > > > > > > wait_on_bit_action and wait_on_bit_lock_action > > > > > > to make it explicit that they need an action function. > > > > > >=20 > > > > > > Introduce new wait_on_bit{,_lock} and wait_on_bit{,_lock}_io > > > > > > which are *not* given an action function but implicitly use > > > > > > a standard one. > > > > > > The decision to error-out if a signal is pending is now made > > > > > > based on the 'mode' argument rather than being encoded in the = action > > > > > > function. > > > > >=20 > > > > > this patch fails to build on x86-32 allyesconfigs. > > > >=20 > > > > Could you share the build errors? > > >=20 > > > Sure, find it attached below. > >=20 > > Thanks. > >=20 > > It looks like this is a wait_on_bit usage that was added after I create= d the > > patch. > >=20 > > How about you drop my patch for now, we wait for -rc1 to come out, then= I > > submit a new version against -rc1 and we get that into -rc2. > > That should minimise such conflicts. > >=20 > > Does that work for you? >=20 > Sure, that sounds like a good approach, if Linus doesn't object. >=20 Hi Ingo, I re-posted these patches based on -rc2 (I missed -rc1, it was too fast) a= nd have not heard anything over a week later. Did I misunderstand? Did you want me to send them direct to Linus? Or are you on a summer break and I should just be patient? Thanks, NeilBrown --Sig_/=QYeP+QY288.xRlZtBKJOUE Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIVAwUBU7NgWjnsnt1WYoG5AQII1w//VComARvqt3VvWrvmnDLA0VuceV4ZipH/ bJ/z5WegEkvgo3YXg6TuiU5149NOrCV3ccqGyQAqzOamXzUbFIMYxQbSMNPpNcAq aOj24ngtnFlRttn6x4KiyF3iZCj553+nazZ423XBCn74K8doav66M/iuHu1KDzuu oV9zgkzwefx3+/bfsX4SIoHelgjM2b5oiIiAYbvlF35dJgHDfHWYERbURCegbb4l jNSCdyu7hYQ9hv0JZUGHjziG4WAf4eEJMXOnOHtcz6Ud/pnCc1IhJGJjyDUImPXp VPYo+C8T/zd6+OnAgxQ0xZhDLMw8BS8xfc9U8/BvypxeVoDVPYfBDwL0WsdyVrfj 3O5+8p3Tlh78AhXAuU5IoXD0X5ADvObXrAqoPa3N1ZmzbdKDy23WPqsC0nIOw6p1 LIviOly29b9/DZLr+fUZ6Q3fKvY4QKVM3Y301oEHpFOwdhDl0gUJ+rk2602Oj56f N+lJLkUYsfeFs+RcU7elzNM+RYXHCUuVk8Jf5sRek7D8jq86+y4W/nRZ+h4G6vmt KRnS+ZP7tfD+hfH6nc2gg1ntKBz5siYkQNumgei2w8mgwFymA7Q932qhfL3lI3vJ UbqMTlHq3vujWJ6bNPxpwC8GzCToce6ufjS4Yx2oI+AK6SrGP5yKZazQymDtxtuR ONcujyX/idg= =bvEK -----END PGP SIGNATURE----- --Sig_/=QYeP+QY288.xRlZtBKJOUE-- -- 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/