Re: [PATCH v11]: Hibernation: fix the number of pages used for hibernate/thawbuffering

From: Per Olofsson
Date: Sun Apr 15 2012 - 08:47:16 EST


2012-04-12 23:59, Bojan Smojver skrev:
> Hi Rafael,
>
> Yes, I know - it is getting a bit ridiculous. Such a simple problem, so
> many patches. Anyhow...
>
> Here we also fix the calculation of pages for read buffering. Not really
> very significant, but may become important in some really tight memory
> scenarios. And after thinking more about low_free_pages() inline
> function, Per was right - it is better to call an already existing
> function, rather than roll our own. Keeps kernel smaller and there is no
> significant performance gain otherwise.
>
> Per,
>
> Feel free to reply with your signed-off.

Signed-off-by: Per Olofsson <pelle@xxxxxxxxxx>

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