Date: Fri, 30 Apr 1999 20:46:18 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: John Polstra <jdp@polstra.com> Cc: freebsd-current@FreeBSD.ORG Subject: Re: Any action on PR 10570 ? getting closer to 65K :-( Message-ID: <16711.925497978@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 30 Apr 1999 11:36:48 PDT." <XFMail.990430113648.jdp@polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.990430113648.jdp@polstra.com>, John Polstra writes: >Poul-Henning Kamp wrote: >> In message <XFMail.990430112019.jdp@polstra.com>, John Polstra writes: >>> >>>You're being totally unrealistic. You can't create >2^32 of >>>_anything_ on an i386 without running out of memory. >> >> Well, John, you can, the newer ones will address 2^36 bytes of memory >> and even a i386 can address 2^32 bytes or 2^35 bits... >> >> But hair splitting aside, > >If we're going to split hairs, how about this: To make a reference >count exceed 2^32, you need to have >2^32 different pointers pointing >to it. A pointer takes 2^2 bytes on the i386. So that's 2^34 bytes >of memory you'd need just to store the pointers. > >You'd better hope you don't get a panic on that mother! It might >take quite awhile to write a 16 GByte crash dump. :-) Still only 1/4 the addressable store of P5 and upwards... :-) -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16711.925497978>