DragonFly BSD
DragonFly users List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: GENERIC - Raising the bar


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Fri, 11 Mar 2005 23:05:17 +0100
Mail-followup-to: users@crater.dragonflybsd.org

On Fri, Mar 11, 2005 at 04:58:37PM -0500, Adrian Nida wrote:
> Garance A Drosihn wrote:
> >Note that FreeBSD 5.x and 6.x do not include the 386 code in
> >the default GENERIC kernel.  The installer CD might be compiled
> >with "cpu I386_CPU" included, but the GENERIC kernel does not...
> 
> Just curious, here.
> 
> What would be the harm in having GENERIC.386, GENERIC.486, etc. and then 
> programmatically setting up GENERIC as a symlink to the one closest 
> matching the hardware?

Overhead for any changes to GENERIC, e.g. new drivers. Like I already said,
it doesn't buy us much, because we don't use cmpxchg. Some code, e.g.
endian conversion would be faster, but that's all within limits of a few
percent at most. Compile your own kernel if you care.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]