Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2005 00:42:22 -0700
From:      Peter Wemm <peter@wemm.org>
To:        freebsd-amd64@freebsd.org
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: 32GB/device swap limit on amd64
Message-ID:  <200505020042.22898.peter@wemm.org>
In-Reply-To: <20050501220614.GA50235@xor.obsecurity.org>
References:  <20050501220614.GA50235@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 01 May 2005 03:06 pm, Kris Kennaway wrote:
> Looks like amd64 has the following limit, which is the same as on
> i386:
>
> WARNING: reducing size to maximum of 67108864 blocks per swap unit
>
> Can this be easily fixed on amd64?
>
> Kris

This looks like its a subr_blist.c problem:

        /*
         * If we go beyond this, we get overflows in the radix
         * tree bitmap code.
         */
        mblocks = 0x40000000 / BLIST_META_RADIX;
        if (nblks > mblocks) {
                printf("WARNING: reducing size to maximum of %lu blocks per swap unit\n",
                        mblocks);
                nblks = mblocks;
        }

sys/blist.h:#define BLIST_META_RADIX 16
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



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