mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 08:09:08 +00:00
MFC r303059
Release the second critical section in uma_zfree_arg() slightly earlier.
This commit is contained in:
parent
849f6e54c1
commit
3408237087
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=304094
@ -2770,6 +2770,8 @@ zfree_start:
|
||||
goto zfree_start;
|
||||
}
|
||||
cache->uc_freebucket = NULL;
|
||||
/* We are no longer associated with this CPU. */
|
||||
critical_exit();
|
||||
|
||||
/* Can we throw this on the zone full list? */
|
||||
if (bucket != NULL) {
|
||||
@ -2782,9 +2784,6 @@ zfree_start:
|
||||
LIST_INSERT_HEAD(&zone->uz_buckets, bucket, ub_link);
|
||||
}
|
||||
|
||||
/* We are no longer associated with this CPU. */
|
||||
critical_exit();
|
||||
|
||||
/*
|
||||
* We bump the uz count when the cache size is insufficient to
|
||||
* handle the working set.
|
||||
|
Loading…
Reference in New Issue
Block a user