lkml.org 
[lkml]   [2009]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 6/7] Ksplice: Export symbols needed for Ksplice
Date
On Friday 13 February 2009 12:16:40 Tim Abbott wrote:
> On Wed, 4 Feb 2009, Rusty Russell wrote:
>
> > On Saturday 06 December 2008 10:33:59 Jeff Arnold wrote:
> > > From: Tim Abbott <tabbott@mit.edu>
> > >
> > > Ksplice uses several functions from module.c in order to resolve
> > > symbols and implement dependency handling. Calling these functions
> > > requires holding module_mutex, so it is exported.
> >
> > I have fought every attempt to export that. It was long a cause of misery
> > and pain; people saw the lock and so started grabbing it.
> >
> > Any chance we can find another way?
>
> It is definitely possible, but it wouldn't be pretty. There are a few
> things that we use module_mutex for:

Yes, having looked through the code I don't think the export can be avoided.

Thanks,
Rusty.


\
 
 \ /
  Last update: 2009-02-18 12:23    [W:0.214 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site