lkml.org 
[lkml]   [2006]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] i386: instead of poisoning .init zone, change protection bits to force a fault
    Benjamin LaHaise a écrit :
    > On Sun, Jan 29, 2006 at 09:04:44PM +0100, Eric Dumazet wrote:
    >> Chasing some invalid accesses to .init zone, I found that free_init_pages()
    >> was properly freeing the pages but virtual was still usable.
    >
    > This change will break the large table entries up, resulting in more TLB
    > pressure and reducing performance, and so should only be activated as a
    > debug option.

    Hum... yet another CONFIG option ?

    Could we 'just' move rodata (because of CONFIG_DEBUG_RODATA) and .init section
    in their own 2MB/4MB page, playing with vmlinux.lds.S ?

    It would be possible to have a full hugepage readonly for rodata, and a full
    NOPROT for .init ?

    Eric
    -
    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: 2006-01-29 21:30    [W:0.023 / U:1.596 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site