lkml.org 
[lkml]   [2003]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] Add module load profile hook
    Date
    In message <20030221005412.GA95016@compsoc.man.ac.uk> you write:
    > On Fri, Feb 21, 2003 at 11:33:46AM +1100, Rusty Russell wrote:
    >
    > > Sure, but I think I prefer a more generic notifier mechanism anyway,
    > > which oprofile can use as well as other mechanisms.
    > >
    > > Say, module_notifier with a MODULE_LOADED, MODULE_INITIALIZED,
    > > MODULE_UNLOADING, MODULE_GONE?
    >
    > What needs this ?

    I was thinking those who want to roll their own two-stage init and
    delete. I wouldn't implement them all at first, but putting a
    notifier in is simple, and it can be expanded later.

    ie. you'd just implement MODULE_INITIALIZED, and leave the rest.

    Fair?
    Rusty.
    --
    Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
    -
    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:33    [W:0.018 / U:31.916 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site