Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754899AbXLDP5h (ORCPT ); Tue, 4 Dec 2007 10:57:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753574AbXLDP5a (ORCPT ); Tue, 4 Dec 2007 10:57:30 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:52537 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753408AbXLDP53 (ORCPT ); Tue, 4 Dec 2007 10:57:29 -0500 Date: Tue, 4 Dec 2007 07:56:17 -0800 (PST) From: Linus Torvalds To: "Luiz Fernando N. Capitulino" cc: Linux Kernel Mailing List , Ingo Molnar , herton@mandriva.com.br, dvgevers@xs4all.nl Subject: Re: [local DoS] Re: Linux 2.6.24-rc4 In-Reply-To: <20071204120715.4ea204a8@mandriva.com.br> Message-ID: References: <20071204120715.4ea204a8@mandriva.com.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 596 Lines: 18 On Tue, 4 Dec 2007, Luiz Fernando N. Capitulino wrote: > > sched_rr_get_interval(1, NULL); Looks like we have a zero "cfs_rq->load.weight". Ingo? Both sched_slice() and __sched_slice() do a divide by the runqueue weight, and at least dequeue_task_fair() explicitly checks for that being zero, so clearly zero is a possible value. Hmm? Linus -- 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/