On Thu, Aug 22, 2024 at 01:45:06PM -0500, David Wright wrote:
> On Thu 22 Aug 2024 at 17:21:04 (+0000), Thorsten Glaser wrote:
> > Mike Castle dixit:

[...]

> > >I suspect that the race is that, when the the swapoff() syscall
> > >returns, the kernel has indeed moved all of the content off, so that
> > >part is fine... but it has not yet released whatever kind of resources
> > >is has on the backing store (akin to an open file handle).
> > 
> > My guess as well.
> 
> I'm not convinced. Finding out what needs copying back and locating
> somewhere to put it is AIUI a slow process.

Actually, thinking about it: if the system hasn't enough discardable
RAM, the process might take arbitrarily long, no?

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to