Re: [2.6 patch] unexport insert_resource

Andrew Morton
2005-04-24T10:18:38Z

Christoph Hellwig <hch@infradead.org> wrote:
>
> On Sat, Apr 23, 2005 at 04:44:11PM -0700, Andrew Morton wrote:
> > Adrian Bunk <bunk@stusta.de> wrote:
> > >
> > > I didn't find any possible modular usage in the kernel.
> > >
> >
> > True, but this looks like something which out-of-tree code could possibly
> > be using. I'd prefer to see this one get the deprecated_for_modules
> > twelve-month treatment.
>
> Don't you think twelve month is damn long? Two kernel releases seem
> like a better policy - extremly long deprecation periods only encourage
> people to never look at mainline kernels but just ad vendor trees.

A year ago we were at 2.6.6. It's not that long, really.

> Note that you're not really helping driver authors by exporting random
> kernel symbols

We can mark these things as deprecated-in-modules today, to avoid new usages.