These new macros are very convenient for modifying a SLIST after using CK_SLIST_FOREACH_PREVPTR to find an element to remove or a position to insert. FreeBSD sys/queue.h already has SLIST_REMOVE_PREVPTR. I would like to use the new macros in a change that I am planning for FreeBSD kernel: https://reviews.freebsd.org/D16016 https://reviews.freebsd.org/D15905awsm
parent
5b74d9f9b0
commit
1c1f9901c2
Loading…
Reference in new issue