On Fri, 18 Nov 2011 10:42:50 +0400 Konstantin Khlebnikov<khlebnikov@xxxxxxxxxx> wrote:
Do we really need separate on-stack reclaim_state structure with single field?
Maybe replace it with single long (or even unsigned int) .reclaimed_pages field on task_struct
and account reclaimed pages unconditionally.
I don't think it matters a lot - it's either a temporary pointer on the
stack or a permanent space consumption in the task_struct.
The way thing are at present we can easily add new fields if needed. I
don't think we've ever done that though.