[Ksummit-discuss] Topic: Removal of code that is still in use by users but there is a better code.

josh at joshtriplett.org josh at joshtriplett.org
Wed Jun 11 00:36:06 UTC 2014

On Tue, Jun 10, 2014 at 01:19:12PM -0700, H. Peter Anvin wrote:
> On 06/10/2014 01:12 PM, Konrad Rzeszutek Wilk wrote:
> > Hey,
> > 
> > I would want to propose a topic on removing code in Linux that
> > users are using - but they are doing it less and less and it
> > mostly is tied in with older hardware. Specifically how to do
> > this transition properly - and if we want to define some checklist
> > /policy to do it via.
> > 
> I second this.  Right now deprecation is entirely ad hoc... usually in
> the form "this hasn't compiled for X releases and noone noticed", which
> makes it hard to do *controlled* deprecation...
> I realize this is a third rail kind of topic, but it puts us in really
> hard spots as a project, sometime.

I agree.  I think we've had some recent examples of how to do this
better, with remap_file_pages: old userspace has to *work* on new
kernels, but it doesn't necessarily need to run fast, or integrate with
any new features.  We should deprecate more kernel bits in
favor of minimal compatibility layers, some of which we can associate
with old userspace and drop for new userspace.

- Josh Triplett

More information about the Ksummit-discuss mailing list