Hello
I'd like know what is the maximum size of swap space in all linux systems.
I know it depends on the architecture (32-bit or 64-bit) and the kernel version (2.4 or 2.6) and I've found some information in the Internet:

"max swap size: With kernel 2.4, the limit is 64 swap spaces at a maximum of 64Gb each, although this is not reflected in the man page for mkswap. With the 64 bit opteron on the 2.6 kernel, 128 swap areas are permitted, each a whopping 16 Tb! (thanks to Peter Chubb for the calculation)"

Besides this, I'd like to know where can I find this information in the kernel sources?

cheers,
foxrafi