Messages in this thread | | | Date | Thu, 15 Mar 2007 23:19:02 +0100 (CET) | From | Jiri Kosina <> | Subject | Re: [PATCH 2/3] swsusp: Do not use page flags |
| |
On Thu, 15 Mar 2007, Andrew Morton wrote:
> > > And why _does_ suspend use GFP_ATOMIC all over the place? > > Generally, because it cannot sleep. > Why not?
I guess it's simply beucase of kswapd being already frozen, so there is no chance that once GFP_KERNEL allocation goes to sleep, it is going to get any free pages eventually ... ?
-- Jiri Kosina - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |