swapoff_all at shutdown time

Andriy Gapon <[email protected]>
Newsgroups gmane.os.freebsd.architechture
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.