Re: [unused symbol] need to use init_mm

Ingo Molnar
2009-04-30T14:41:30Z

* Mel Gorman <mel@csn.ul.ie> wrote:

> On Thu, Apr 30, 2009 at 12:32:04PM +0200, Eric Lacombe wrote:
> > Hi,
> >
> > Within a module I work on, I need to access to init_mm, but as it is marked
> > UNUSED, I wonder if there is another way (an API) to access to it.
> > Otherwise, what can I do to have this mark removed from init_mm in the
> > mainline? as my module is really not yet ready for inclusion.
> >
> > Thanks in advance for your response,
> >
>
> It looks to be that it was removed already, somewhat behind schedule, in
> commit 9470565579f29486f4ed0ffa50774268b64994b0 after an initial attempt
> was made in commit 3abf024d2abb79614d8c4cb25a70d5596f77d0ad. I don't know
> if there is a procedure for bringing it back but I would guess it's a call
> for the x86 maintainers. I imagine they will want to at least know;
>
> 1. Why do you need init_mm exported?
> 2. Is there an alternative approach to using init_mm?
> 3. Assuming yes, what are the downsides?
> 4. When do you think the module will be ready for posting? i.e. is this
> really something destined for mainline or some perma-out-of-tree?

yes, those questions have to be answered.

Ingo