Re: [ck] Re: Faster resuming of suspend technology.

Con Kolivas
2006-03-12T22:30:27Z

On Monday 13 March 2006 08:32, Andreas Mohr wrote:
> And... well... this sounds to me exactly like a prime task
> for the newish swap prefetch work, no need for any other
> special solutions here, I think.
> We probably want a new flag for swap prefetch to let it know
> that we just resumed from software suspend and thus need
> prefetching to happen *much* faster than under normal
> conditions for a short while, though (most likely by
> enabling prefetching on a *non-idle* system for a minute).

Adding a resume_swap_prefetch() called just before the resume finishes that
aggressively prefetches from swap would be easy. Please tell me if you think
adding such a function would be worthwhile.

Cheers,
Con