zfs/module/os/linux
Alexander Motin b3ad3f48d9
Use list_remove_head() where possible.
... instead of list_head() + list_remove().  On FreeBSD the list
functions are not inlined, so in addition to more compact code
this also saves another function call.

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 #14955
2023-06-09 10:12:52 -07:00
..
spl Linux: Never sleep in kmem_cache_alloc(..., KM_NOSLEEP) (#14926) 2023-06-07 10:43:43 -07:00
zfs Use list_remove_head() where possible. 2023-06-09 10:12:52 -07:00