[lkml]   [2003]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Remove module reference counting.
    On Fri, 25 Jul 2003 04:00:18 +1000
    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.
    > Polite feedback welcome,

    I'm ok with this, with one possible enhancement.

    How about we make ->cleanup() return a boolean, which if true
    causes the caller to do the module_free()?

    (Yes I know that doing this will require some more thought
    in order to minimize how large a change it would need to
    be to keep exiting modules working. It's a seperate discussion.)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:47    [W:3.457 / U:0.508 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site