lkml.org 
[lkml]   [2007]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 3/8] Text Edit Lock - i386
    On Fri, Jul 13, 2007 at 09:21:36PM -0400, Mathieu Desnoyers wrote:
    > +#ifdef CONFIG_DEBUG_RODATA
    > +static int rodata_marked;
    > +#endif

    Maybe I'm missing something, but the rodata section should always stay
    r/o, only text needs locking/unlocking, no?

    Given that all code in this patch only operates on .text this seems fine,
    but the variables/config options are grossly misnamed then. And actually
    making rodata r/o doesn't seem like a pure debugging thing to me either.
    -
    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: 2007-07-14 18:21    [W:0.019 / U:31.676 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site