Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765204AbXJPJkA (ORCPT ); Tue, 16 Oct 2007 05:40:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752835AbXJPJjx (ORCPT ); Tue, 16 Oct 2007 05:39:53 -0400 Received: from mx2.go2.pl ([193.17.41.42]:43414 "EHLO poczta.o2.pl" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758132AbXJPJjw (ORCPT ); Tue, 16 Oct 2007 05:39:52 -0400 Date: Tue, 16 Oct 2007 11:42:52 +0200 From: Jarek Poplawski To: Peter Williams Cc: Dmitry Adamushko , Ingo Molnar , Nick Piggin , "Siddha\, Suresh B" , Linux Kernel Mailing List Subject: Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval() Message-ID: <20071016094252.GD1000@ff.dom.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <471410EF.90808@bigpond.net.au> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 935 Lines: 29 On 16-10-2007 03:16, Peter Williams wrote: ... > > I'd suggest that we modify sched_rr_get_interval() to return -EINVAL > (with *interval set to zero) if the target task is not SCHED_RR. That > way we can save a lot of unnecessary code. I'll work on a patch. ... I like this idea! But, since this a system call maybe at least something like RFC would be nicer... >> >> Sorry for too harsh words. > > I didn't consider them harsh. So, I can't be mistaken for a rapper yet? I'll work on it... Cheers, Jarek P. PS: Peter, for some unknown reason I don't receive your messages. If you get back some errors from my side I'd be interested to see it (alternative: jarkao2 at gmail.com). - 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/