git: 6e1d1bfcac77 - main - jail: Improve locking when removing prisons
James Gritton
jamie at freebsd.org
Fri Mar 12 18:14:10 UTC 2021
On 2021-03-12 02:01, Harry Schmalzbauer wrote:
> 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.
Yes, still plan to, and in fact I will. I let the MFC reminder slip
past me, and once 13.0 was solidified allowed it to stay slipped.
I'll MFC many of the
other changes as well.
- Jamie
More information about the dev-commits-src-main
mailing list