On Sun, 27 Mar 2005, David S. Miller wrote:
> On Sun, 27 Mar 2005 22:54:11 -0500 (EST)
> Rik van Riel <riel@xxxxxxxxxx> wrote:
>
> > (SO_MEMALLOC?)
>
> Interesting top-down scheme.
>
> We could also make a way to adjust the GFP_ATOMIC reserve
> thresholds too. That seems a bit more generic.
That might work, as long as we can guarantee that each
SO_MEMALLOC socket has at least N amount of memory available
just for itself, so none of these sockets get to deadlock.
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
|