Source-Changes-D archive

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

Re: CVS commit: src/sys



On Sat, Mar 28, 2020 at 09:34:11AM +0000, nia wrote:
> > - It's not good idea to set such parameter in individual GENERICs.
> 
> It's not a good idea to punish the majority of NetBSD users because m68k
> is incredibly slow.

Both statements are true, and the latter is based on a misunderstanding.

It would be good to have a file somewhere in the audio code where the
default is selected based on some ifdefs - if we don't have anything
better something like:

#if defined(__m68k__) || defined(__vax__) || \
	(defined(__sparc__) && !defined(_LP64)
....
#else
...	4ms
#endif

Or create (if we don't have yet) a <machine/audio_md.h> and define it there.

You can make it overridabel in individual kernel config files - but the
default should be sane.

Martin


Home | Main Index | Thread Index | Old Index