Date: Fri, 16 Dec 2022 22:41:39 +0800 From: Zhenlei Huang <zlei.huang@gmail.com> To: freebsd-jail@freebsd.org Subject: Is it possible to employ epoch to simplify managing prison lifecycle Message-ID: <9BD54A54-A809-4D3E-BCBA-639E6C61FE37@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi, While hacking `sys/kern/kern_jail.c` I got lost. There're lots of ref / unref and flags to prevent visit invalid prison while concurrent modification is possible and some refs looks weird. Is it possible to employ epoch(9) to simplify managing of prison lifecycle ? Best regards, Zhenlei
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9BD54A54-A809-4D3E-BCBA-639E6C61FE37>