Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932499AbXJLG7u (ORCPT ); Fri, 12 Oct 2007 02:59:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755700AbXJLG7j (ORCPT ); Fri, 12 Oct 2007 02:59:39 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:49170 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755659AbXJLG7j (ORCPT ); Fri, 12 Oct 2007 02:59:39 -0400 Date: Fri, 12 Oct 2007 08:59:17 +0200 From: Ingo Molnar To: Peter Williams Cc: Dmitry Adamushko , Nick Piggin , "Siddha, Suresh B" , Linux Kernel Mailing List Subject: Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval() Message-ID: <20071012065917.GC3057@elte.hu> References: <470D7055.4090000@bigpond.net.au> <20071011065946.GB32125@elte.hu> <470EA277.7090107@bigpond.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <470EA277.7090107@bigpond.net.au> User-Agent: Mutt/1.5.14 (2007-02-12) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.1.7-deb -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 854 Lines: 21 * Peter Williams wrote: > > I had also considered introducing smth like > > sched_class::task_timeslice() but decided it was not worth it. > > The reason I was going that route was for modularity (which helps when > adding plugsched patches). I'll submit a revised patch for > consideration. no strong feelings - since this isnt a performance-sensitive codepath we could certainly abstract it a bit more if it's convenient for hackability. Depends on how the patch looks like and how much code increase there is - but i'd not expect it to be anything controversial. Ingo - 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/