[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swap partition size



On Wed, Feb 12, 2003 at 10:25:30AM +0100, Oliver Tennert wrote:
> 
> Hello,
> 
> it might prove to be a very stupid question, nevertheless I dare ask it:
> 
> I grew up in the opinion that Linux has a 2 GB limit on swap partitions.
> This seems to have been dropped, though I NEVER have seen any hint or
> documentation of it:
> 
> root@test001 root > swapon -s
> Filename        Type    Size Used     Priority
> /dev/sdb1                       partition 35840972      7370936 -3
> root@test001 root > free
>              total       used       free     shared    buffers     cached
> Mem:       1031032    1007696      23336          0      10616     662312
> -/+ buffers/cache:     334768     696264
> Swap:     35840972    7370936   28470036
> root@test001 root > uname -a
> Linux test001 2.4.18-14 #1 Wed Sep 4 12:13:11 EDT 2002 i686 athlon i386
> GNU/Linux
> 
> Can any one of you tell me when this limit has dropped off the 2.4 kernel?
> I deem it worth to be mentioned in a way!

The 2G limit never existed, it was an artificial limit in the swapon
utility, each arch has its own limited mandated by the pagetable layout
and it's usually way above 2G and a non pratical one normally

Andrea
--
Linux-mm-www:   http://linux-mm.org/ website maintenance list
Archive:        http://mail.nl.linux.org/linux-mm-www/
Development:    linux-mm@kvack.org