From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 2A2A06B004D for ; Sun, 1 Nov 2009 14:32:57 -0500 (EST) Date: Sun, 1 Nov 2009 20:32:47 +0100 From: Pavel Machek Subject: Re: [PATCH 2/3] page allocator: Do not allow interrupts to use ALLOC_HARDER Message-ID: <20091101193247.GA2155@elf.ucw.cz> References: <20091027130924.fa903f5a.akpm@linux-foundation.org> <20091031184054.GB1475@ucw.cz> <20091031201158.GB29536@elf.ucw.cz> <20091031222905.GA32720@elf.ucw.cz> <4AECC04B.9060808@redhat.com> <20091101073527.GB32720@elf.ucw.cz> <4AED9EB4.5080601@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AED9EB4.5080601@redhat.com> Sender: owner-linux-mm@kvack.org To: Rik van Riel Cc: David Rientjes , Andrew Morton , Mel Gorman , stable@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Frans Pop , Jiri Kosina , Sven Geggus , Karol Lewandowski , Tobias Oetiker , KOSAKI Motohiro , Pekka Enberg , Christoph Lameter , Stephan von Krawczynski , kernel-testers@vger.kernel.org List-ID: On Sun 2009-11-01 09:44:04, Rik van Riel wrote: > On 11/01/2009 02:35 AM, Pavel Machek wrote: > >>>I believe it would be better to simply remove it. > >> > >>You are against trying to give the realtime tasks a best effort > >>advantage at memory allocation? > > > >Yes. Those memory reserves were for kernel, GPF_ATOMIC and stuff. Now > >realtime tasks are allowed to eat into them. That feels wrong. > > > >"realtime" tasks are not automatically "more important". > > > >>Realtime apps often *have* to allocate memory on the kernel side, > >>because they use network system calls, etc... > > > >So what? As soon as they do that, they lose any guarantees, anyway. > > They might lose the absolute guarantee, but that's no reason > not to give it our best effort! You know, there's no reason not to give best effort to normal tasks, too... Well, OTOH that means that realtime tasks can now interfere with interrupt memory allocations... Anyway, I guess this is not terribly important... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org