plan9fox/sys/src/9/mtx
cinap_lenrek 24057fd4f4 kernel: introduce per process FPU struct (PFPU) for more flexible machine specific fpu handling
introducing the PFPU structue which allows the machine specific
code some flexibility on how to handle the FPU process state.

for example, in the pc and pc64 kernel, the FPsave structure is
arround 512 bytes. with avx512, it could grow up to 2K. instead
of embedding that into the Proc strucutre, it is more effective
to allocate it on first use of the fpu, as most processes do not
use simd or floating point in the first place. also, the FPsave
structure has special 16 byte alignment constraint, which further
favours dynamic allocation.

this gets rid of the memmoves in pc/pc64 kernels for the aligment.

there is also devproc, which is now checking if the fpsave area
is actually valid before reading it, avoiding debuggers to see
garbage data.

the Notsave structure is gone now, as it was not used on any
machine.
2017-11-04 20:08:22 +01:00
..
clock.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
cycintr.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
dat.h kernel: introduce per process FPU struct (PFPU) for more flexible machine specific fpu handling 2017-11-04 20:08:22 +01:00
devarch.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
devether.c devether: remove qfull prints and fix loopback packet handling of etheroq() 2013-12-16 19:19:15 +01:00
devrtc.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ether2114x.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
etherif.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fns.h segdesc: add /dev/^(ldt gdt) support 2011-07-12 15:46:22 +02:00
i8259.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
inb.s Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
initcode Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
io.h io.h: fis comment PciSID (alphapc, kw, mtx, teg2) (thanks qeed!) 2015-05-30 16:50:02 +02:00
l.s all kernels: declare _tas() to prevent pulling in libc version (for libmemdraw) 2015-07-07 19:17:55 +02:00
main.c kernel: introduce per process FPU struct (PFPU) for more flexible machine specific fpu handling 2017-11-04 20:08:22 +01:00
mem.h sysexec: fix possible segment overlap with temporary stack 2013-03-16 02:37:07 +01:00
mkfile kernel: introduce devswap #¶ to serve /dev/swap and handle swapfile encryption 2017-10-29 23:09:54 +01:00
mmu.c kernel: reduce Page structure size by changing Page.cachectl[] 2015-02-07 02:52:23 +01:00
mtx kernel: introduce devswap #¶ to serve /dev/swap and handle swapfile encryption 2017-10-29 23:09:54 +01:00
mtxcpu kernel: introduce devswap #¶ to serve /dev/swap and handle swapfile encryption 2017-10-29 23:09:54 +01:00
pci.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
raven.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
trap.c kernel: introduce per process FPU struct (PFPU) for more flexible machine specific fpu handling 2017-11-04 20:08:22 +01:00
uarti8250.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00