Re: An idea for swap partition size vs. swap space size in use handling

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Sun, 22 Jan 2023 07:17:07 UTC
--------
Mark Millard writes:

> It would be nice if I could have just one swap partition
> on a given boot media, one that is more than sufficient
> in size for all but the biggest RAM system --but to then
> be able to tell the system to just use up to the
> recommended swap space size and to ignore any extra swap
> space in the swap partition.

Last I looked at that code, that is precisely what happens
if you add a too big swap-device ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.