Re: writepage return value check in vmscan.c

From: chrisl@vmware.com
Date: Mon Oct 28 2002 - 14:29:55 EST


On Mon, Oct 28, 2002 at 08:22:14PM +0100, Andrea Arcangeli wrote:
>
> swap space doesn't need to be twice as big as ram. That's fixed long
> ago.
>
> swap+ram is the total amount of virtual memory that you can use in
> vmware.

Cool.

>
> >
> > And the swap partition has limit as 2G. So we need to setup 8 swap
> > partitions if we want 16G swap.
>
> that's a silly restriction of mkswap, the kernel doesn't care, it can
> handle way more than 2G (however there's an high bound at some
> unpractical level, to go safe the math limit should be re-encoded in
> mkswap, of course it changes for every arch because the pte layout is
> different).

Thanks

Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:39 EST