lkml.org 
[lkml]   [2011]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/5] notifiers: split notifier.h into subsystem headers
    Date
    Now we define all kinds of notifiers in notifier.h, this is not
    necessary at all, since different subsystems use different
    notifiers, they are almost non-related with each other.

    This can also save much build time. Suppose I add a new netdevice
    event, really I don't have to recompile all the source, just network
    related. Without this patch, all the source will be recompiled.

    I move the notify events near to their subsystem notifier registers,
    so that they can be found more easily.

    In case of conflicts, I hope Andrew Morton would take the whole
    patchset, rather than different subsystem maintainers take their own.

    Signed-off-by: WANG Cong <amwang@redhat.com>

    ---
    drivers/mmc/core/core.c | 3 ++
    include/linux/cpu.h | 33 ++++++++++++++++++
    include/linux/netdevice.h | 36 ++++++++++++++++++--
    include/linux/notifier.h | 82 +++-----------------------------------------
    include/linux/reboot.h | 5 +++
    include/linux/suspend.h | 8 ++++
    include/linux/vt.h | 7 ++++
    kernel/notifier.c | 31 -----------------
    kernel/sys.c | 32 +++++++++++++++++-
    net/rds/page.c | 1 +
    10 files changed, 127 insertions(+), 111 deletions(-)


    \
     
     \ /
      Last update: 2011-06-22 08:39    [W:0.020 / U:90.332 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site