[lkml]   [2003]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Remove module reference counting.
    On Thu, 2003-07-24 at 19:00, Rusty Russell wrote:
    > If module removal is to be a rare and unusual event, it
    > doesn't seem so sensible to go to great lengths in the code to handle
    > just that case. In fact, it's easier to leave the module memory in
    > place, and not have the concept of parts of the kernel text (and some
    > types of kernel data) vanishing.

    Wasn't the idea once banded about of a 2-stage unload that went
    something like:

    1. ->cleanup() - unregister IRQ handlers, timers, etc.
    2. Quiesce the system
    3. Safe to unload

    surely if nothing is registered and all CPUs do a voluntary schedule()
    then there can be no chance of calling back in to the module.

    LOL. Or am I kidding myself here? :)

    // Gianni Tedesco (gianni at scaramanga dot co dot uk)
    lynx --source | gpg --import
    8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D

    [unhandled content-type:application/pgp-signature]
     \ /
      Last update: 2005-03-22 13:47    [W:0.028 / U:39.152 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site