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

From: Mel Gorman
Date: Mon Nov 09 2009 - 05:11:40 EST


On Wed, Nov 04, 2009 at 10:01:40AM +0100, Pavel Machek wrote:
>
> > I hope we can move this to another thread if people would like to remove
> > this exemption completely instead of talking about this trivial fix, which
> > I doubt there's any objection to.
>
> I'm arguing that this "trivial fix" is wrong, and that you should just
> remove those two lines.
>
> If going into reserves from interrupts hurts, doing that from task
> context will hurt, too. "realtime" task should not be normally allowed
> to "hurt" the system like that.
> Pavel

As David points out, it has been the behaviour of the system for 4 years
and removing it should be made as a separate decision and not in the
guise of a fix. In the particular case causing concern, there are a lot
more allocations from interrupt due to network receive than there are
from the activities of tasks with a high priority.

--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
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/