lkml.org 
[lkml]   [2012]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v5]: Hibernation: lower/better control the amount of pages used for buffering
Date
On Wednesday, March 28, 2012, Bojan Smojver wrote:
> 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.

Please do. You can even convert nr_free_pages() to a static inline while
you're at it. :-)

Thanks,
Rafael


\
 
 \ /
  Last update: 2012-03-28 01:17    [W:0.030 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site