Re: Which is simpler? (Was Re: [Suspend2-devel] Re: [ 00/10] [Suspend2] Modules support.)

From: Pavel Machek
Date: Thu Feb 23 2006 - 07:17:14 EST


Hi!

> > Ok, I have no problems with visions.
> >
> > > I think we should try to get the pagecache stuff right first anyway.
> >
> > Are you sure it is worth doing? I mean... it only helps on small
> > machines, no?
> >
> > OTOH having it for benchmarks will be nice, and perhaps we could use
> > that kind it to speed up boot and similar things...
>
> Currently some people can't suspend with the mainline code because it cannot
> free as much memory as needed on their boxes. I think we should care for them
> too.

But saving pagecache will not help them *at all*!

[Because pagecache is freeable, anyway, so it will be freed. Now... I
have seen some problems where free_some_memory did not free enough,
and schedule()/retry helped a bit... that probably should be fixed.]

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