freebsd-dev/share/man
Vladimir Kondratyev b6f87b78b5 LinuxKPI: Implement kthread_worker related functions
Kthread worker is a single thread workqueue which can be used in cases
where specific kthread association is necessary, for example, when it
should have RT priority or be assigned to certain cgroup.

This change implements Linux v4.9 interface which mostly hides kthread
internals from users thus allowing to use ordinary taskqueue(9) KPI.
As kthread worker prohibits enqueueing of already pending or canceling
tasks some minimal changes to taskqueue(9) were done.
taskqueue_enqueue_flags() was added to taskqueue KPI which accepts extra
flags parameter. It contains one or more of the following flags:

TASKQUEUE_FAIL_IF_PENDING - taskqueue_enqueue_flags() fails if the task
    is already scheduled to execution. EEXIST is returned and the
    ta_pending counter value remains unchanged.
TASKQUEUE_FAIL_IF_CANCELING - taskqueue_enqueue_flags() fails if the
    task is in the canceling state and ECANCELED is returned.

Required by:	drm-kmod 5.10

MFC after:	1 week
Reviewed by:	hselasky, Pau Amma (docs)
Differential Revision:	https://reviews.freebsd.org/D35051
2022-05-17 15:10:20 +03:00
..
man1
man3 Use Linux semantics for the thread affinity syscalls. 2022-05-11 10:36:01 +03:00
man3lua
man4 rtw88: update man page for loader tunable for >4GB of main memory 2022-05-05 21:17:40 +00:00
man5 Update UNIFIED_OBJDIR descriptions 2022-05-02 14:02:31 -04:00
man6
man7 update command to one that will actually give results 2022-05-10 20:14:20 -07:00
man8 uefi(8): Note i386 is unsupported 2022-03-18 14:12:39 -06:00
man9 LinuxKPI: Implement kthread_worker related functions 2022-05-17 15:10:20 +03:00
Makefile