Source-Changes archive

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

Re: CVS commit: src/sys

On Mon Jan 19 2009 at 23:25:40 +0000, Andrew Doran wrote:
> > +#ifdef COMPAT_50
> > +#include <compat/sys/cpuio.h>
> > +#endif
> > 
> > This doesn't work properly any more, when put in code outside a compat
> > module, because i386 (soon x86) doesn't get this in GENERIC. I sent
> > a mail about it a while ago, can't remember the title.
> As an aside, the documented interface is cpuctl(8). It would be good to have
> a policy on compatibility (my vote, obviously, is application programs only!).

I discussed this with Christos and a few others in passing earlier today,
and your suggestion is my vote too.  Providing compat is nice, but I don't
think it's worth the effort for every foobar ioctl and knob in the world
to benefit the two people who are too lazy to upgrade their whole system.

Apart from the policy, we would need somewhere to gather the information,
preferably next to the interfaces.  Even more challenging, would be nice
to autodetect changes which don't have the necessary compat support.
I think I was going to solve the halting problem next week anyway ...

Home | Main Index | Thread Index | Old Index