From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932202Ab1LOFmH (ORCPT ); Thu, 15 Dec 2011 00:42:07 -0500 Received: from TYO202.gate.nec.co.jp ([202.32.8.206]:47755 "EHLO tyo202.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753101Ab1LOFlx (ORCPT ); Thu, 15 Dec 2011 00:41:53 -0500 Date: Thu, 15 Dec 2011 14:35:06 +0900 From: Daisuke Nishimura To: LKML , cgroups Cc: Ingo Molnar , Peter Zijlstra , Paul Turner , Daisuke Nishimura Subject: [PATCH -tip 0/3] sched: some fixes for vruntime calculation related to cgroup movement(v2) Message-Id: <20111215143506.335e443e.nishimura@mxp.nes.nec.co.jp> In-Reply-To: <20111213155710.5b453415.nishimura@mxp.nes.nec.co.jp> References: <20111213155710.5b453415.nishimura@mxp.nes.nec.co.jp> Organization: NEC Soft, Ltd. X-Mailer: Sylpheed 3.1.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, all. This is an updated version based on comments and rebased onto the -tip tree. These patches fix problems I could see in 3.2-rc2 when testing frequent cgroup movement under very high load. Without these patches, some processes were not scheduled (although they were queued into rq)for a very long time(minutes or hours!), because vruntime of these processes were far bigger than min_vruntime. Daisuke Nishimura (3): sched: fix cgroup movement of newly created process sched: fix cgroup movement of forking process sched: fix cgroup movement of waking process kernel/sched/fair.c | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) Thanks, Daisuke Nishimura.