public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Maximum swap space?
@ 2003-06-07  8:55 Colin Paul Adams
  2003-06-07 17:50 ` Randy.Dunlap
  2003-06-07 22:28 ` Rik van Riel
  0 siblings, 2 replies; 16+ messages in thread
From: Colin Paul Adams @ 2003-06-07  8:55 UTC (permalink / raw)
  To: linux-kernel

I am somewhat confused about how much swap space you can have with a
2.4 series kernel. If I read the mkswap man page, I get the impression
that I could have up to 8x2GB of swap space for a total of 16 GB, but
reading the RedHat reference guide, it says 2GB maximum.

I presume 2.5 kernels have much higher limits?
-- 
Colin Paul Adams
Preston Lancashire

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: Maximum swap space?
@ 2003-06-08 22:51 Andries.Brouwer
  0 siblings, 0 replies; 16+ messages in thread
From: Andries.Brouwer @ 2003-06-08 22:51 UTC (permalink / raw)
  To: hpa, wli; +Cc: linux-kernel

    The 2GB limit is 100% userspace; distros are already shipping the
    mkswap(8) fixes (both RH & UL anyway).

If I recall things correctly: at some point in time
the kernel would reject a swapon on a swapspace that was
larger than it could handle (instead of just using the
initial part).
That is why mkswap contains a lot of very ugly code
that compares the size with the maximum certain kernels
will accept for swapon.
I have not checked recently what the present situation is.

Andries

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2003-06-10 19:17 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-07  8:55 Maximum swap space? Colin Paul Adams
2003-06-07 17:50 ` Randy.Dunlap
2003-06-07 20:24   ` Andrew Morton
2003-06-07 20:50     ` William Lee Irwin III
2003-06-08  0:55       ` William Lee Irwin III
2003-06-08  1:28         ` Andrew Morton
2003-06-08  1:38           ` William Lee Irwin III
2003-06-08  6:31             ` William Lee Irwin III
2003-06-07 21:43   ` H. Peter Anvin
2003-06-07 21:49     ` William Lee Irwin III
2003-06-07 22:18       ` H. Peter Anvin
2003-06-07 22:43         ` William Lee Irwin III
2003-06-07 22:28 ` Rik van Riel
2003-06-10 19:00   ` Randy.Dunlap
2003-06-10 19:29     ` William Lee Irwin III
  -- strict thread matches above, loose matches on Subject: below --
2003-06-08 22:51 Andries.Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox