Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 1 Jul 2002 20:00:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 1 Jul 2002 20:00:00 -0400 Received: from sccrmhc02.attbi.com ([204.127.202.62]:48853 "EHLO sccrmhc02.attbi.com") by vger.kernel.org with ESMTP id ; Mon, 1 Jul 2002 20:00:00 -0400 Subject: Re: [announce] [patch] batch/idle priority scheduling, SCHED_BATCH From: Nicholas Miell To: Ingo Molnar Cc: Andreas Jaeger , linux-kernel@vger.kernel.org, Linus Torvalds In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 01 Jul 2002 17:02:21 -0700 Message-Id: <1025568143.1673.4.camel@entropy> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1004 Lines: 26 On Mon, 2002-07-01 at 01:00, Ingo Molnar wrote: > > On Mon, 1 Jul 2002, Andreas Jaeger wrote: > > This can be done in glibc. linux/sched.h should not be used by > > userspace applications, glibc has the define in which is > > included from - and is the file defined by Posix. > > yes, this was my thinking too. OK, I can understand that line of reasoning. Keep in mind that someday, someone who is looking for the implementation of the SCHED_OTHER policy will be thoroughly confused by the kernel's complete lack of reference to SCHED_OTHER. And they'll be asking you for clarification. Or, you could make some note in the source that SCHED_OTHER is SCHED_NORMAL and eliminate any source of confusion now. - Nicholas - 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/