tech-kern archive

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

Re: Audio - In kernel audio mixing



On Sun, May 15, 2016 at 03:54:07PM -0700, Lyndon Nerenberg wrote:
 > > On most architectures, you can't use the FPU in the kernel at this time.
 > 
 > Something that's lacking is a portable API that lets problem state
 > programs tell the kernel they are using the FP etc. registers and
 > need them preserved across context switches.

Uh what? On essentially all architectures the kernel can tell which
programs use the FPU, and presumably if they use it the values in it
can't be allowed to randomly disappear.

(In fact, the mechanism for this is why the FPU can't readily be used
in the kernel.)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index