git: 6e1d1bfcac77 - main - jail: Improve locking when removing prisons

Harry Schmalzbauer freebsd at omnilan.de
Fri Mar 12 10:02:11 UTC 2021


Am 20.02.2021 um 23:42 schrieb Jamie Gritton:
> The branch main has been updated by jamie:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=6e1d1bfcac77603541706807803a198c6d954d7c
>
> commit 6e1d1bfcac77603541706807803a198c6d954d7c
> Author:     Jamie Gritton <jamie at FreeBSD.org>
> AuthorDate: 2021-02-20 22:38:58 +0000
> Commit:     Jamie Gritton <jamie at FreeBSD.org>
> CommitDate: 2021-02-20 22:38:58 +0000
>
>      jail: Improve locking when removing prisons
>      
>      Change the flow of prison_deref() so it doesn't let go of allprison_lock
>      until it's completely done using it (except for a possible drop as part
>      of an upgrade on its first try).
>      
>      Differential Revision:  https://reviews.freebsd.org/D28458
>      MFC after:      3 days
> ---
>   sys/kern/kern_jail.c | 69 +++++++++++++++++++++++++++++++---------------------
>   1 file changed, 41 insertions(+), 28 deletions(-)

Hello,

do you still plan to MFC this?  It seems there's a bunch of locking 
related rework not MFC yet, but this one had the MFC tag in the commit 
log, so I guess it's a more important fix.

Thanks!

-harry



More information about the dev-commits-src-main mailing list