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

From: Maxim Levitsky
Date: Sat Jan 30 2010 - 15:38:01 EST


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

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