swapoff_all at shutdown time
- Reply: John Baldwin : "Re: swapoff_all at shutdown time"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Mar 2025 15:11:35 UTC
This is more of a question than suggestion. I noticed that swapoff_all() at shutdown time seems to swap in all pages (for non-dead objects). Does that really have to be done? Can't we just "discard" those pages at that late stage of shutdown? Especially now that we don't swap kernel stacks. -- Andriy Gapon