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:14:43 UTC 2020

Modified Files:
        src/share/man/man9: workqueue.9
        src/sys/kern: subr_workqueue.c
        src/sys/sys: workqueue.h

Log Message:
New workqueue flag WQ_FPU.

Arranges kthread_fpu_enter/exit around calls to the worker.  Saves
cost over explicit calls to kthread_fpu_enter/exit in the worker by
only doing it once, since there's often a high cost to flushing the
icache and zeroing the fpu registers.

As proposed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2020/06/20/msg026524.html


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/share/man/man9/workqueue.9
cvs rdiff -u -r1.37 -r1.38 src/sys/kern/subr_workqueue.c
cvs rdiff -u -r1.10 -r1.11 src/sys/sys/workqueue.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