zfs/include/os/freebsd
Alexander Motin 020f6fd093
FreeBSD: Implement taskq_init_ent()
Previously taskq_init_ent() was an empty macro, while actual init
was done by taskq_dispatch_ent().  It could be slightly faster in
case taskq never enqueued. But without it taskq_empty_ent() relied
on the structure being zeroed by somebody else, that is not good.

As a side effect this allows the same task to be queued several
times, that is normal on FreeBSD, that may or may not get useful
here also one day.

Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes #15455
2023-11-07 11:37:18 -08:00
..
linux Cleanup: Make memory barrier definitions consistent across kernels 2022-09-13 16:59:33 -07:00
spl FreeBSD: Implement taskq_init_ent() 2023-11-07 11:37:18 -08:00
zfs/sys ZIL: Cleanup sync and commit handling 2023-10-30 14:51:56 -07:00
Makefile.am Add SHA2 SIMD feature tests for FreeBSD 2023-03-02 13:51:56 -08:00