Re: [PATCH 2.6.14-rc2] fix incorrect mm->hiwater_vm and mm->hiwater_rss

From: Hugh Dickins
Date: Wed Sep 21 2005 - 14:48:00 EST


On Wed, 21 Sep 2005, Jay Lan wrote:
> Frank van Maarseveen wrote:
> >
> > But update_mem_hiwater() is called at various places too, and I guess
> > that covers merely the total_vm increase, not rss.
>
> That is not true. update_mem_hiwater() also updates hiwater_rss.
>
> > Maybe above inline should replace update_mem_hiwater()?

Yes, I don't understand what Frank meant there either.

Hugh
-
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/