lkml.org 
[lkml]   [2001]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [CHECKER] large stack variables (>=1K) in 2.4.4 and 2.4.4-ac8


    On Thu, 24 May 2001, Dawson Engler wrote:

    > > check_nmi_watchdog() is __init and we know exactly when it's called.
    > > The interesting cases (SMP kernel, since for UP NR_CPUS==1) are:
    >
    > Ah, nice --- I keep meaning to tell the checker to demote its warning
    > about NULL bugs or large stack vars in __init routines and/or routines
    > that have the substring "init" in them ;-)

    Please, don't. These functions are often used from/as init_module(),
    so they must handle the case when allocation fails. They can be
    called long after the boot.

    -
    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 12:53    [W:0.045 / U:0.736 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site