Re: MM deadlock [was: Re: arca-vm-8...]

Stephen C. Tweedie
1999-01-25T18:44:17Z

Hi,

On Mon, 25 Jan 1999 10:27:30 -0800 (PST), Linus Torvalds
<torvalds@transmeta.com> said:

>> Regarding the former, is there any chance you'd consider adding a kswapd
>> wakeup when low_memory gets set in get_free_pages()? Being able to
>> respond to a burst in network traffic without locking up is not exactly
>> a minor issue.

> Note that it wouldn't ever trigger for GFP_ATOMIC allocations, so I
> suspect you haven't actually _tried_ it? For a machine that gets burst of
> network traffic with nothing else going on, adding it should essentially
> amount to a no-op.

Correct: I haven't been testing any of the networking stuff myself so it
has been a non-issue for any of my workloads here. Obviously any check
for this case would have to be outside the GFP_WAIT conditional, but it
does make sense to set low_on_memory there anyway.

--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/