Skip to contentSkip to conversation

obsolete code must die

DISCUSSION Jesse Pollard 2 participants 2 messages Jun 14, 2001

lore
Share & tools
lore
#0 lore raw

--------- Received message begins Here ---------

Quoted 5 lines

Cleanup is a nice idea , but Linux should support old hardware and should not affect them in any way.

Jaswinder.

I agree - and added my comments below.

Quoted 23 lines

----- Original Message -----
From: "Daniel" <[email protected]>
To: "Linux kernel" <[email protected]>
Sent: Wednesday, June 13, 2001 5:44 PM
Subject: obsolete code must die

Quoted 1 line

Anyone concerned about the current size of the kernel source code? I am,

and

Quoted 1 line

I propose to start cleaning house on the x86 platform. I mean it's all

very

Quoted 4 lines

well and good to keep adding features, but stuff needs to go if kernel development is to move forward. Before listing the gunk I want to get rid of, here's my justification for doing so:
-- Getting rid of old code can help simplify the kernel. This means less

Quoted 8 lines

chance of bugs.
-- Simplifying the kernel means that it will be easier for newbies to understand and perhaps contribute.
-- a simpler, cleaner kernel will also be of more use in an academic environment.
-- a smaller kernel is easier to maintain and is easier to re-architect should the need arise.
-- If someone really needs support for this junk, they will always have

Quoted 9 lines

the

Quoted 8 lines

option of using the 2.0.x, 2.2.x or 2.4.x series.

So without further ado here're the features I want to get rid of:

i386, i486
The Pentium processor has been around since 1995. Support for these older processors should go so we can focus on optimizations for the pentium and better processors.

I'm still using 486 systems.... Works fine for a DSL firewall. Why change it? I'd have to buy a whole new system. The case won't hold anything newer - so it costs $600-$800; I'd rather put that into fixing up the house... or getting a newer workstation (1.4 GHz looks REALLY nice). I don't need high performance for a firewall that only handles ~700Kbits/sec over a 10 base T network.

I also understand that 386 systems make excellent terminal servers...

Quoted 4 lines
Quoted 4 lines

math-emu
If support for i386 and i486 is going away, then so should math emulation. Every intel processor since the 486DX has an FPU unit built in. In fact shouldn't FPU support be a userspace responsibility anyway?

Not when the code must support register save/restore on context switches. Now the meat of the emulator perhaps. But then you must also provide a way for applications that don't know about the lack to suddenly have access to a new library, accessed via a kernel trap (illegal instruction). This imposes more context switches on an already slow system (though why anywone would use floating point on one is beyond me ... maybe performance tracking of firewall/terminal server use...).

Quoted 8 lines
Quoted 6 lines

ISA bus, MCA bus, EISA bus
PCI is the defacto standard. Get rid of CONFIG_BLK_DEV_ISAPNP, CONFIG_ISAPNP, etc

ISA, MCA, EISA device drivers
If support for the buses is gone, there's no point in supporting devices

for

Quoted 1 line

these buses.

Not on the 386/486 systems (at least the ISA/EISA based ones).

Quoted 12 lines
Quoted 5 lines

all code marked as CONFIG_OBSOLETE
Since we're cleaning house we may as well get rid of this stuff.

MFM/RLL/XT/ESDI hard drive support
Does anyone still *have* an RLL drive that works? At the very least get

rid

Quoted 6 lines

of the old driver (eg CONFIG_BLK_DEV_HD_ONLY, CONFIG_BLK_DEV_HD_IDE, CONFIG_BLK_DEV_XD, CONFIG_BLK_DEV_PS2)

parallel/serial/game ports
More controversial to remove this, since they are *still* in pretty wide use -- but USB and IEEE 1394 are the way to go. No ifs ands or buts.

really? I'm still running my printer this way (and just bought a parallel printer/copier/scanner - the USB port isn't finished yet). And one of my serial mice. Not to mention the plan to add the UPS to the serial lines.... It's still cheaper to use existing serial ports than to buy 4 serial ports for USB. USB doesn't buy me any performance advantage (yet).

Quoted 13 lines
Quoted 4 lines

a.out
Who needs it anymore. I love ELF.

I really think doing a clean up is worthwhile. Maybe while looking for

stuff

Quoted 2 lines

to clean up we'll even be able to better comment the existing code. Any other features people would like to get rid of? Any comments or

suggestions?

Quoted 1 line

I'd love to start a good discussion about this going so please send me

your

Quoted 3 lines

2 cents.

Daniel

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: [email protected]

Any opinions expressed are solely my own.

#1 lore raw

Ok here are my only 2cents, I use some of this hardware that this clean up would kill, I dont like that thought, and my brand spanking new 1.2ghz athalon has a single ISA slot and on board parallel / serial ports all of which are in use so maybee those should be kept, I however I do agree that a smaller kernal would be nice, could some of these older hardware devices be kept out of the kernal? I dont have a clue, I agree on most aspects of why this cleanup should take place, but to what extent? is it an option to take some of this out of the kernal and still support it? maybee in userspace? dont have a clue. but lets not kill everything in this list.

thanks for listening and any feedback
Richard Reynolds
[email protected]
----- Original Message -----
From: "Jesse Pollard" <[email protected]>
To: <[email protected]>; "Daniel" <[email protected]>; "Linux kernel" <[email protected]>
Cc: "Jaswinder Singh" <[email protected]>
Sent: Thursday, June 14, 2001 7:01 AM
Subject: Re: obsolete code must die

Quoted 4 lines

--------- Received message begins Here ---------

Quoted 2 lines

Cleanup is a nice idea , but Linux should support old hardware and

should

Quoted 14 lines
Quoted 3 lines

not affect them in any way.

Jaswinder.

I agree - and added my comments below.

Quoted 8 lines

----- Original Message -----
From: "Daniel" <[email protected]>
To: "Linux kernel" <[email protected]>
Sent: Wednesday, June 13, 2001 5:44 PM
Subject: obsolete code must die

Quoted 1 line

Anyone concerned about the current size of the kernel source code? I

am,

Quoted 5 lines
Quoted 5 lines

and

Quoted 1 line

I propose to start cleaning house on the x86 platform. I mean it's all

very

Quoted 2 lines

well and good to keep adding features, but stuff needs to go if kernel development is to move forward. Before listing the gunk I want to get

rid

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

of, here's my justification for doing so:
-- Getting rid of old code can help simplify the kernel. This means

less

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

chance of bugs.
-- Simplifying the kernel means that it will be easier for newbies to understand and perhaps contribute.
-- a simpler, cleaner kernel will also be of more use in an academic environment.
-- a smaller kernel is easier to maintain and is easier to

re-architect

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

should the need arise.
-- If someone really needs support for this junk, they will always

have

Quoted 7 lines
Quoted 7 lines

the

Quoted 6 lines

option of using the 2.0.x, 2.2.x or 2.4.x series.

So without further ado here're the features I want to get rid of:

i386, i486
The Pentium processor has been around since 1995. Support for these

older

Quoted 1 line
Quoted 1 line
Quoted 1 line

processors should go so we can focus on optimizations for the pentium

and

Quoted 3 lines
Quoted 1 line
Quoted 1 line

better processors.

I'm still using 486 systems.... Works fine for a DSL firewall. Why change

it?

Quoted 1 line

I'd have to buy a whole new system. The case won't hold anything newer -

so

Quoted 1 line

it costs $600-$800; I'd rather put that into fixing up the house... or

getting

Quoted 1 line

a newer workstation (1.4 GHz looks REALLY nice). I don't need high

performance

Quoted 6 lines

for a firewall that only handles ~700Kbits/sec over a 10 base T network.

I also understand that 386 systems make excellent terminal servers...

Quoted 2 lines
Quoted 2 lines

math-emu
If support for i386 and i486 is going away, then so should math

emulation.

Quoted 1 line
Quoted 1 line
Quoted 1 line

Every intel processor since the 486DX has an FPU unit built in. In

fact

Quoted 5 lines
Quoted 1 line
Quoted 1 line

shouldn't FPU support be a userspace responsibility anyway?

Not when the code must support register save/restore on context switches. Now the meat of the emulator perhaps. But then you must also provide a way for applications that don't know about the lack to suddenly have

access

Quoted 2 lines

to a new library, accessed via a kernel trap (illegal instruction). This imposes more context switches on an already slow system (though why

anywone

Quoted 1 line

would use floating point on one is beyond me ... maybe performance

tracking

Quoted 8 lines

of firewall/terminal server use...).

Quoted 6 lines
Quoted 6 lines

ISA bus, MCA bus, EISA bus
PCI is the defacto standard. Get rid of CONFIG_BLK_DEV_ISAPNP, CONFIG_ISAPNP, etc

ISA, MCA, EISA device drivers
If support for the buses is gone, there's no point in supporting

devices

Quoted 10 lines
Quoted 2 lines

for

Quoted 1 line

these buses.

Not on the 386/486 systems (at least the ISA/EISA based ones).

Quoted 5 lines
Quoted 5 lines

all code marked as CONFIG_OBSOLETE
Since we're cleaning house we may as well get rid of this stuff.

MFM/RLL/XT/ESDI hard drive support
Does anyone still *have* an RLL drive that works? At the very least

get

Quoted 6 lines
Quoted 6 lines

rid

Quoted 5 lines

of the old driver (eg CONFIG_BLK_DEV_HD_ONLY, CONFIG_BLK_DEV_HD_IDE, CONFIG_BLK_DEV_XD, CONFIG_BLK_DEV_PS2)

parallel/serial/game ports
More controversial to remove this, since they are *still* in pretty

wide

Quoted 5 lines
Quoted 1 line
Quoted 1 line

use -- but USB and IEEE 1394 are the way to go. No ifs ands or buts.

really? I'm still running my printer this way (and just bought a parallel printer/copier/scanner - the USB port isn't finished yet). And one of my serial mice. Not to mention the plan to add the UPS to the serial

lines....

Quoted 9 lines

It's still cheaper to use existing serial ports than to buy 4 serial ports for USB. USB doesn't buy me any performance advantage (yet).

Quoted 6 lines
Quoted 4 lines

a.out
Who needs it anymore. I love ELF.

I really think doing a clean up is worthwhile. Maybe while looking for

stuff

Quoted 1 line

to clean up we'll even be able to better comment the existing code.

Any

Quoted 22 lines
Quoted 7 lines
Quoted 1 line

other features people would like to get rid of? Any comments or

suggestions?

Quoted 1 line

I'd love to start a good discussion about this going so please send me

your

Quoted 3 lines

2 cents.

Daniel

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: [email protected]

Any opinions expressed are solely my own.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/