HomeFreeBSD

gtaskqueue: Fix a typo

Description

gtaskqueue: Fix a typo

This is a no-op in practice since gtaskqueue_thread_enqueue() and
taskqueue_thread_enqueue() are identical, and while _gtaskqueue_create()
compares the enqueue callback pointer with gtaskqueue_thread_enqueue(),
the result has no effect since TQ_FLAGS_UNLOCKED_ENQUEUE was copied
directly from subr_taskqueue.c and is unused in the gtaskqueue code.

Fix it anyway since it's a bug. More generally we really need to
consolidate subr_taskqueue.c and subr_gtaskqueue.c.

PR: 270661
MFC after: 1 week

Details

Provenance
markjAuthored on Dec 31 2023, 4:36 PM
Parents
rG8b57b2a98b64: frag6 tests: Serialize
Branches
Unknown
Tags
Unknown