lkml.org 
[lkml]   [2006]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC/RFT][PATCH -mm] swsusp: improve memory shrinking
Hi!

> > > > I did try shrink_all_memory() five times, with .5 second delay between
> > > > them, and it freed more memory at later tries.
> > >
> > > I wonder if the delays are essential or if so, whether they may be shorter
> > > than .5 sec.
> >
> > I was using this with some success... (Warning, against old
> > kernel). But, as I said, I consider it ugly, and it would be better to
> > fix shrink_all_memory.
>
> Appended is a patch against the current -mm.
> [It also makes
> swsusp_shrink_memory() behave as documented for image_size = 0.
> Currently, if it states there's enough free RAM to suspend, it won't bother
> to free a single page.]

Could we get bugfix part separately?
Pavel
--
Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted...
-
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/

\
 
 \ /
  Last update: 2006-02-26 19:56    [W:0.194 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site