Re: [PATCH v5]: Hibernation: lower/better control the amount ofpages used for buffering

From: Bojan Smojver
Date: Tue Mar 27 2012 - 18:53:56 EST


On Wed, 2012-03-28 at 00:54 +0200, Rafael J. Wysocki wrote:
> That's better, but what's wrong with a static inline, actually?

Nothing, if that is what is required to get the patch accepted. :-)

I just thought that given that nr_free_pages() is already a macro with
no side effects, it would make sense for reqd_free_pages() or
REQD_FREE_PAGES to remain a macro.

But, if you insist on static inline, I'll do static inline. Let me know.

--
Bojan

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