Re: does swsusp suck after resume for you? [was Re: Faster resuming of suspend technology.]

Con Kolivas
2006-03-14T21:35:17Z

On Wednesday 15 March 2006 04:36, Lee Revell wrote:
> On Tue, 2006-03-14 at 12:51 +0100, Pavel Machek wrote:
> > "we have just
> > finished big&ugly memory trashing job, can we get our interactivity
> > back"? Like I'd probably cron-scheduled it just after updatedb
>
> The updatedb problem is STILL not solved? I remember someone proposed
> years ago to have it use fcntl() or fadvise() to tell the kernel that we
> are about to read every file on the system and to please not wipe the
> cache - I guess this was never done?

There is an POSIX_FADV_DONTNEED (I think that's the one), but userspace needs
updating to actually use it.

Cheers,
Con