created | 2018-11-30T01:57:47Z |
---|---|
begin | 2018-08-16T00:00:00Z |
end | 2018-08-17T00:00:00Z |
path | src/sys |
commits | 1 |
date | 2018-08-16T15:36:04Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/arch/arm64/arm64/pmap.c | log | diff | annotate |
message |
Make pmap_allocate_asid() mpsafe. Since between checking the ASID table and setting the bits atomically another core can select the same ASID as we did it currently would not be safe to run it without the kernel lock. This replaces the atomic_setbits_int(9) call with atomic_cas_uint(9) where we can check that the table entry has not been changed since we evaluted it. Also modify pmap_free_asid() to use the same concept. ok kettenis@ |