lkml.org 
[lkml]   [2004]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: alpha fp-emu vs module refcounting
    On Sat, May 08, 2004 at 02:37:17AM +0400, Ivan Kokshaysky wrote:
    > Ok, I realize - this seems to be confusing. I'll try to clarify:
    > - First of all, mere mortals are _not_ allowed to compile mandatory
    > alpha IEEE fp emulation code as a module. Which is documented
    > in arch/alpha/Kconfig.
    > - Roughly speaking, the fp emu _module_ code intercepts the fp traps,
    > so races vs module loading/unloading are fundamentally unavoidable.
    > These refcounting attempts just narrow the window.
    >
    > And no, try_module_get should never fail here.
    >
    > Alternatively, we could just drop _all_ module related stuff from
    > alpha/math-emu...

    either that or just marking it unloadable by removing the cleanup_module
    handler sound like the simplest solution I guess.
    -
    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 14:03    [W:0.022 / U:89.492 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site