Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #83640

Re: wait until swapoff is *actually* finished (it returns too early)?

From Thorsten Glaser <tg@debian.org>
Newsgroups linux.debian.kernel, linux.debian.user
Subject Re: wait until swapoff is *actually* finished (it returns too early)?
Date 2024-08-23 05:20 +0200
Message-ID <Jet0d-6WdY-3@gated-at.bofh.it> (permalink)
References (3 earlier) <Jefqh-6MWk-1@gated-at.bofh.it> <Jeieu-6OGL-23@gated-at.bofh.it> <JejNf-6PJA-3@gated-at.bofh.it> <JelP3-6QTL-3@gated-at.bofh.it> <Jesxb-6VOX-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Mike Castle dixit:

>Exactly.  In my experience, running swapoff(8) _will_ take a long time
>if the swap area has a lot of content.

Yes.

>It will block until everything is moved out.

Unfortunately not. It will block until *almost* everything is
moved out. I think what we’re seeing is that the request to move
out the last bits was sent but is processed async, or something.

I think at this point, perhaps the kernel team has an idea.

bye,
//mirabilos
PS: please keep Cc’ing me on replies, thanks!
-- 
<hecker> cool ein Ada Lovelace Google-Doodle. aber zum 197. Geburtstag? Hätten
die nicht noch 3 Jahre warten können? <mirabilos> bis dahin gibts google nicht
mehr <hecker> ja, könnte man meinen. wahrscheinlich ist der angekündigte welt-
untergang aus dem maya-kalender die globale abschaltung von google ☺ und darum
müssen die die doodles vorher noch raushauen

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: wait until swapoff is *actually* finished (it returns too early)? Thorsten Glaser <tg@debian.org> - 2024-08-23 05:20 +0200

csiph-web