Messages in this thread | | | Date | Sun, 01 Nov 2009 09:44:04 -0500 | From | Rik van Riel <> | Subject | Re: [PATCH 2/3] page allocator: Do not allow interrupts to use ALLOC_HARDER |
| |
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.
| |