Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753283AbZKSNXS (ORCPT ); Thu, 19 Nov 2009 08:23:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753004AbZKSNXS (ORCPT ); Thu, 19 Nov 2009 08:23:18 -0500 Received: from www.tglx.de ([62.245.132.106]:38160 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752858AbZKSNXQ (ORCPT ); Thu, 19 Nov 2009 08:23:16 -0500 Date: Thu, 19 Nov 2009 14:22:59 +0100 (CET) From: Thomas Gleixner To: Peter Zijlstra cc: Jean Delvare , Leon Woestenberg , Alan Cox , Mark Brown , Sven-Thorsten Dietrich , linux-i2c@vger.kernel.org, rt-users , "Ben Dooks (embedded platforms)" , LKML Subject: Re: yield() in i2c non-happy paths hits BUG under -rt patch In-Reply-To: <1258636872.4372.354.camel@twins> Message-ID: References: <20091107210147.3e754278@hyperion.delvare> <4AF7148C.9090706@thebigcorporation.com> <20091112211255.09cd884a@hyperion.delvare> <20091116155606.GC29479@sirena.org.uk> <20091118010520.4cd397d4@lxorguk.ukuu.org.uk> <20091118175202.490989d8@hyperion.delvare> <20091119130526.23a69b85@hyperion.delvare> <1258636872.4372.354.camel@twins> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 672 Lines: 20 On Thu, 19 Nov 2009, Peter Zijlstra wrote: > On Thu, 2009-11-19 at 14:11 +0100, Thomas Gleixner wrote: > > > You say "NOOP by default", does this imply there is a way to change > > > this? > > > > There is a sysctl: sysctl_sched_compat_yield > > This makes yield() place current behind all other tasks, and sucks too > for some workloads. yield() sucks anyway, so it depends which flavour of suckage you prefer. tglx -- 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/