Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: riastradh
Date: Sat Aug 1 02:04:55 UTC 2020
Modified Files:
src/share/man/man9: kthread.9
src/sys/kern: kern_kthread.c kern_stub.c
src/sys/sys: kthread.h lwp.h
Log Message:
New functions kthread_fpu_enter/exit.
The MI definitions don't do anything but maintain a flag, but MD code
can define kthread_fpu_enter/exit_md to actually enable/disable the
FPU. (These are almost pcu_load/discard on systems that use pcu(9),
except they apply to all PCUs.)
Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2020/06/20/msg026524.html
The proposed kthread flag KTHREAD_FPU is not included because I
couldn't find any particular need for it that would not be covered by
just calling kthread_fpu_enter/exit in the kthread function.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/share/man/man9/kthread.9
cvs rdiff -u -r1.45 -r1.46 src/sys/kern/kern_kthread.c
cvs rdiff -u -r1.49 -r1.50 src/sys/kern/kern_stub.c
cvs rdiff -u -r1.13 -r1.14 src/sys/sys/kthread.h
cvs rdiff -u -r1.210 -r1.211 src/sys/sys/lwp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index