logoalt Hacker News

charcircuittoday at 1:23 AM1 replyview on HN

Today's swap also is not preallocated by the user. It is entirely handled by the OS itself. If it needs swap space to hibernate it will go ahead and allocate it itself.


Replies

Dylan16807today at 1:42 AM

It does? Last I checked Linux doesn't do dynamic swap sizes, and while Windows has dynamic swap sizes it has a separate big non-dynamic file for hibernation. I have no idea what MacOS does.

show 1 reply