Re: [RFC][PATCH] PM: Force GFP_NOIO during suspend/resume (was: Re: [linux-pm] Memory allocations in .suspend became very unreliable)

Maxim Levitsky
2010-01-30T20:37:52Z

On Sat, 2010-01-30 at 19:47 +0100, Rafael J. Wysocki wrote:
> On Saturday 30 January 2010, Maxim Levitsky wrote:
> > On Sun, 2010-01-17 at 01:38 +0100, Rafael J. Wysocki wrote:
> > > Hi,
> > >
> > > I thing the snippet below is a good summary of what this is about.
> >
> > Any progress on that?
>
> Well, I'm waiting for you to report back:
> http://patchwork.kernel.org/patch/74740/
>
> The patch is appended once again for convenience.

Ah, sorry!

I used the second version (with the locks) and it works for sure (~500
cycles)

However, as I discovered today, it takes the lock also for GFP_ATOMIC,
and thats why I see several backtraces in the kernel log. Anyway this
isn't important.

I forgot all about this patch, and I am compiling the kernel right away.
Will put the kernel through the hibernate loop tonight.

Best regards,
Maxim Levitsky