Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2023 07:17:07 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: An idea for swap partition size vs. swap space size in use handling
Message-ID:  <202301220717.30M7H7wC022099@critter.freebsd.dk>
In-Reply-To: <E187AA6B-6832-4A75-81BC-21E0A999154D@yahoo.com>
References:  <E187AA6B-6832-4A75-81BC-21E0A999154D.ref@yahoo.com> <E187AA6B-6832-4A75-81BC-21E0A999154D@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--------
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301220717.30M7H7wC022099>