Re: [PATCH 2/3] page allocator: Do not allow interrupts to use ALLOC_HARDER

From: Rik van Riel
Date: Sun Nov 01 2009 - 09:45:34 EST


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!

--
All rights reversed.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/