[ltt-dev] [PATCH] mm fix page writeback accounting to fix oom condition under heavy I/O
Linus Torvalds
torvalds at linux-foundation.org
Tue Feb 10 00:23:56 EST 2009
On Mon, 9 Feb 2009, Mathieu Desnoyers wrote:
>
> So this patch fixes this behavior by only decrementing the page accounting
> _after_ the block I/O writepage has been done.
This makes no sense, really.
Or rather, I don't mind the notion of updating the counters only after IO
per se, and _that_ part of it probably makes sense. But why is it that you
only then fix up two of the call-sites. There's a lot more call-sites than
that for this function.
So if this really makes a big difference, that's an interesting starting
point for discussion, but I don't see how this particular patch could
possibly be the right thing to do.
Linus
More information about the lttng-dev
mailing list