Add lock assertion.
Tested by: jhb
This commit is contained in:
parent
84f85aedef
commit
b85a2011c1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141712
@ -93,6 +93,7 @@ tsb_tte_lookup(pmap_t pm, vm_offset_t va)
|
||||
if (tte_match(tp, va))
|
||||
return (tp);
|
||||
} else {
|
||||
PMAP_LOCK_ASSERT(pm, MA_OWNED);
|
||||
PMAP_STATS_INC(tsb_nlookup_u);
|
||||
for (sz = TS_MIN; sz <= TS_MAX; sz++) {
|
||||
bucket = tsb_vtobucket(pm, sz, va);
|
||||
|
Loading…
Reference in New Issue
Block a user