lkml.org 
[lkml]   [2003]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Page Colouring (was: 2.6.0 Huge pages not working as expected)
    On Mon, 29 Dec 2003 02:23:19 -0800
    William Lee Irwin III <wli@holomorphy.com> wrote:

    > The fact merely elevating PAGE_SIZE breaks numerous things makes me
    > rather suspicious of claims that minimalistic patches can do likewise.

    Can you give an example?

    One approach is to simply present a larger page size to userspace w/
    getpagesize(). This does break ELF programs which have been laid out assuming
    the old page size (presumably they try to mprotect the read-only sections).
    On PPC, the ELF ABI already insists on a 64k boundary between such sections,
    and maybe for others you could simply round appropriately and pray, or do
    fine-grained protections (ie. on real pagesize) for that one case.

    Rusty.
    --
    there are those who do and those who hang on and you don't see too
    many doers quoting their contemporaries. -- Larry McVoy
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:59    [W:0.019 / U:0.160 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site