[lkml]   [2006]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: sys_mmap2 on different architectures
    From: Benjamin LaHaise <>
    Date: Wed, 22 Feb 2006 19:14:11 -0500

    > The sys_mmap2() ABI is that the page shift is always fixed to whatever
    > page size is reasonable for the architecture, typically 2^12. The syscall
    > should never be exposed as mmap2(), only as the large file size version
    > of mmap() (aka mmap64()). The other consideration is that it should not
    > be implemented in 64 bit ABIs, as those machines should be using a 64 bit
    > native mmap(). Does that clear things up a bit? Cheers,

    Aha, that part I didn't catch. Thanks for the clarification

    I wonder why we did things that way with a fixed shift...
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-02-23 01:46    [W:0.021 / U:1.728 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site