Re: [ck] [PATCH] swsusp reclaim tweaks was: Re: does swsusp suck after resume for you?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux