From: "David S. Miller" Date: Tue, 21 Mar 2006 21:41:43 +0000 Subject: Re: Switch default page size to 64k? Message-Id: <20060321.134143.39200750.davem@davemloft.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sparclinux@vger.kernel.org From: Peter Jones Date: Tue, 21 Mar 2006 14:54:56 -0500 > I'm sure I'm being somewhat naive here, but how much of my eroding > sanity is actually saved here? There are some obvious places where > userland is affected, such as mkswap, things that do raw i/o accesses > and thus need aligned pages, etc., but those already have to do the > right detection, or else they don't work with a common 32-bit userland > between sparc32 and sparc64 machines. What's the big scary part? Building and fielding bug reports against multiple kernels. That's very real, and the reason the distribution vendors try to minimize the number of kernel variants they have to ship on each platform. > I've already read your mail about the kernel source tree, and agree that > 64kB as the default page size is a bad idea. I'm just wondering which > parts of userland you expect will actually operate incorrectly, for > reasons other than OOM. I don't expect anything to operate incorrectly. The Linux userland is very clean already because any application has to deal already with the abundance of page size differences across the various platforms.