Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753026AbXLCREk (ORCPT ); Mon, 3 Dec 2007 12:04:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751091AbXLCREd (ORCPT ); Mon, 3 Dec 2007 12:04:33 -0500 Received: from mail1.webmaster.com ([216.152.64.169]:2714 "EHLO mail1.webmaster.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750723AbXLCREd (ORCPT ); Mon, 3 Dec 2007 12:04:33 -0500 From: "David Schwartz" To: "Nick Piggin" , "Ingo Molnar" Cc: "Zhang, Yanmin" , "Arjan van de Ven" , "Andrew Morton" , "LKML" Subject: RE: sched_yield: delete sysctl_sched_compat_yield Date: Mon, 3 Dec 2007 09:04:04 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <20071203113716.GA8432@elte.hu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Importance: Normal X-Authenticated-Sender: joelkatz@webmaster.com X-Spam-Processed: mail1.webmaster.com, Mon, 03 Dec 2007 09:05:11 -0800 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 206.171.168.138 X-Return-Path: davids@webmaster.com X-MDaemon-Deliver-To: linux-kernel@vger.kernel.org Reply-To: davids@webmaster.com X-MDAV-Processed: mail1.webmaster.com, Mon, 03 Dec 2007 09:05:12 -0800 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 869 Lines: 26 I've asked versions of this question at least three times and never gotten anything approaching a straight answer: 1) What is the current default 'sched_yield' behavior? 2) What is the current alternate 'sched_yield' behavior? 3) Are either of them sensible? Simply acting as if the current thread's timeslice was up should be sufficient. The implication I keep getting is that neither the default behavior nor the alternate behavior are sensible. What is so hard about simply scheduling the next thread? We don't need perfection, but it sounds like we have two alternatives of which neither is sensible. DS -- 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/