Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755464Ab2BOUkq (ORCPT ); Wed, 15 Feb 2012 15:40:46 -0500 Received: from merlin.infradead.org ([205.233.59.134]:58172 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754595Ab2BOUko convert rfc822-to-8bit (ORCPT ); Wed, 15 Feb 2012 15:40:44 -0500 Message-ID: <1329338428.2293.176.camel@twins> Subject: Re: [PATCH] hrtimers: Special-case zero length sleeps From: Peter Zijlstra To: Matthew Garrett Cc: Thomas Gleixner , LKML , Arjan van de Ven Date: Wed, 15 Feb 2012 21:40:28 +0100 In-Reply-To: <20120215203814.GA29795@srcf.ucam.org> References: <1317308372-6810-1-git-send-email-mjg@redhat.com> <20120215145225.GA21448@srcf.ucam.org> <20120215202221.GA29552@srcf.ucam.org> <20120215203814.GA29795@srcf.ucam.org> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 524 Lines: 11 On Wed, 2012-02-15 at 20:38 +0000, Matthew Garrett wrote: > Application authors do seem to have ended up under the belief > that sleep(0) is a meaningful thing to do, and the internet seems to be > full of suggestions to use it rather than sched_yield(). http://xkcd.com/386/ -- 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/