Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754527AbXLVKxa (ORCPT ); Sat, 22 Dec 2007 05:53:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750859AbXLVKxV (ORCPT ); Sat, 22 Dec 2007 05:53:21 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:39098 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750869AbXLVKxU (ORCPT ); Sat, 22 Dec 2007 05:53:20 -0500 Date: Sat, 22 Dec 2007 02:52:28 -0800 From: Andrew Morton To: Mike Galbraith Cc: Jon Masters , Michal Schmidt , linux-kernel@vger.kernel.org, "Eric W. Biederman" , Satoru Takeuchi Subject: Re: [PATCH] kthread: run kthreadd with max priority SCHED_FIFO Message-Id: <20071222025228.02905a01.akpm@linux-foundation.org> In-Reply-To: <1198319970.5509.10.camel@homer.simson.net> References: <20071217234314.540b59bd@hammerfall> <20071222013021.db2528cb.akpm@linux-foundation.org> <1198317171.24423.47.camel@perihelion> <1198319970.5509.10.camel@homer.simson.net> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) 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 Content-Length: 950 Lines: 24 On Sat, 22 Dec 2007 11:39:30 +0100 Mike Galbraith wrote: > > On Sat, 2007-12-22 at 04:52 -0500, Jon Masters wrote: > > > So, user tasks running with SCHED_FIFO should be able to lock a system? > > I guess I see both sides of this argument - yes, it's userspace at > > fault, but in other cases when userspace is at fault, we take action > > (OOM, segfault, others). Isn't this situation just another case where > > the kernel needs to avoid the evils of userland going awry? > > FYI, Ingo queued the below. > > http://lkml.org/lkml/2007/10/31/344 > That's pretty different of course, but rlimit might be a suitable interface for implementing RLIMIT_MAX_CONTINUOUS_RT_MILLISECONDS. -- 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/