Re: inter_module_* routines deprecated in 2.6.16 kernel




Martin Feeney wrote:

kernel. Evidently, these routines have been deprecated in the 2.6.16
kernel. In fact, the inter_module_get routine is a private (i.e.
static) function.

Yeah, I'm not sure why. I thought they were elegant. The only thing I
can find is one statement that they weren't safe or elegant, but I
thought they were both.

Does anyone know which, if any, routines have replaced these routines
or, if they haven't been replaced, what is the technique for resolving
circular module references?

There are a few possibilities. One is to create a module that acts as a
communication module between the other two. Another is to use a weak
symbol. If it's 0, you know the other module hasn't been loaded yet.
Each module, on startup, can check if the other one is loaded. If not,
it can do nothing. If so, it can start up the other module as well as
itself.

DS

.



Relevant Pages

  • 1657 Gener St
    ... The literature prior to the precise perception is the ... private, entire hills. ... Can did Cristof reduce in addition all the colours? ... Every elegant ...
    (sci.crypt)
  • Re: So is this elegant, ugly or both?
    ... :>: think of speed in terms of how many miles a moving thing covers ... :> d) 885.64 miles as the crow flies, but I don't have a crow. ... :> So is this elegant, ... Yeah, ...
    (sci.physics)
  • Re: finding natd IP address?
    ... On Tuesday 10 April 2007 05:32, Chandhee Thala wrote: ... uses NAT and gives me a private IP addresses, ... "Elegant" way to get my real IP? ...
    (freebsd-questions)
  • Re: |[4e] Races & Classes tiefling weapons
    ... Real armour and weapons are just so elegant now I know a ... Functional Darwinism at work. ... Yeah, I was hoping the art direction for 4e would be more ...
    (rec.games.frp.dnd)
  • Re: An idea for a freak DWIM lisp-2
    ... >> Yeah, and I'm sure it's probably linked to or mirrored at www.mormon.org. ... justification and is simply an obviously elegant boundary. ... It's like the emacs command set: ... there are all kinds of graceful relationships between various sets of keys, ...
    (comp.lang.lisp)