From: Phillip Lougher Subject: Re: LZMA inclusion Date: Mon, 08 Dec 2008 21:47:37 +0000 Message-ID: <493D95F9.7080004@lougher.demon.co.uk> References: <492BA3FA.9010204@openwrt.org> <200812032348.36921.lasse.collin@tukaani.org> <200812062356.50734.lasse.collin@tukaani.org> <20081207160140.GA13387@logfs.org> <493C5D10.1040604@lougher.demon.co.uk> <20081208201734.GA4069@logfs.org> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20081208201734.GA4069@logfs.org> Sender: linux-embedded-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8"; format="flowed" To: =?UTF-8?B?SsO2cm4gRW5nZWw=?= Cc: Lasse Collin , Geert Uytterhoeven , Bernhard Reutner-Fischer , Tim Bird , glp@openwrt.org, linux-embedded@vger.kernel.org J=C3=B6rn Engel wrote: > On Sun, 7 December 2008 23:32:32 +0000, Phillip Lougher wrote: >> Currently, as mentioned above, Squashfs decompresses into a single=20 >> contiguous output buffer. But, due to the linux kernel mailing list= 's=20 >> dislike of vmalloc, this is being changed. >=20 > Don't blame lkml, blame Intel and IBM. Back in the days of the 386, = a > beefy machine had 8MB of physical memory and 4GB of virtual memory > space. Noone had to worry about fragmentation anymore. If you neede= d a > 1MB buffer, you'd just round up some 256 pages and instruct the mmu t= o > map them into a large contiguous address range in the virtual address > space. Life was good indeed. >=20 > But physical memory has constantly grown since, while the virtual mem= ory > space has for a long time stagnated. Intel even introduced some > hardware hacks to use up to 64GB of physical memory with a measly 4GB= of > virtual memory. Now it was _virtual_ memory fragmentation that you h= ad > to worry about. >=20 > These days most CPUs you'd buy are 64bit, so virtual memory space has > become useful again. But as a kernel hacker, you have little control > over what hardware everyone is using. And those weird systems with > more physical than virtual memory are still around. :( >=20 > J=C3=B6rn >=20 Yes, I'm aware of the issues with vmalloc on older hardware.