Messages in this thread | | | From | Con Kolivas <> | Subject | Re: [ck] [PATCH] swsusp reclaim tweaks was: Re: does swsusp suck after resume for you? | Date | Fri, 17 Mar 2006 15:46:02 +1100 |
| |
On Fri, 17 Mar 2006 03:28 pm, Con Kolivas wrote: > Ok here is a kind of directed memory reclaim for swsusp which is different > to ordinary memory reclaim. It reclaims memory in up to 4 passes with just > shrink_zone, without hooking into balance_pgdat thereby simplifying that > function as well. > > The passes are as follows: > Reclaim from inactive_list only > Reclaim from active list but don't reclaim mapped > 2nd pass of type 2 > Reclaim mapped
It may need to be made more aggressive with another reclaim mapped pass to ensure it frees enough memory. That would be trivial to add.
Cheers, Con - 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/
| |