From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751325Ab1LZRFR (ORCPT ); Mon, 26 Dec 2011 12:05:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49606 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750855Ab1LZRFP (ORCPT ); Mon, 26 Dec 2011 12:05:15 -0500 Date: Mon, 26 Dec 2011 17:59:30 +0100 From: Oleg Nesterov To: Kirill Tkhai Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Kirill Tkhai Subject: SCHED_RR && time_slice Message-ID: <20111226165930.GA4075@redhat.com> References: <1324584060.4222.15.camel@hp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1324584060.4222.15.camel@hp> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/23, Kirill Tkhai wrote: > > RT class uses its own fixed > timeslice (in case of RR), which looks confusing too, btw. sched_set_scheduler() does not initialize rt.time_slice, and INIT_TASK() sets time_slice = HZ (not DEF_TIMESLICE). Oleg.