From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <18206.32494.209309.594078@cargo.ozlabs.ibm.com> Date: Wed, 24 Oct 2007 09:08:30 +1000 From: Paul Mackerras To: Segher Boessenkool Subject: Re: [PATCH] ppc44x: support for 256K PAGE_SIZE In-Reply-To: <6c38f6dc60553ae158e4d3094b879e10@kernel.crashing.org> References: <200710181108.19413.yur@emcraft.com> <18199.60025.563689.10810@cargo.ozlabs.ibm.com> <200710222012.20316.yur@emcraft.com> <6c38f6dc60553ae158e4d3094b879e10@kernel.crashing.org> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Segher Boessenkool writes: > If I understand you correctly, the only problem with existing binaries > is that the ELF segments are aligned to 64kB, but not necessarily to > 256kB. Couldn't you handle this as a special case, for example by > mapping the "ends" of such an unaligned segment with normal 4kB pages? That's very hard to do if the system page size is 256k, since the kernel has no support for mapping parts of pages. Paul.