We don't need to assert we have Giant here. The VM subsystem
has been Giant free for some time now.
Sponsored by: Netflix
Differential D31839
f00f: We don't need giant to manipulate vm structures imp on Sep 5 2021, 3:22 AM. Authored by Tags None Referenced Files
Subscribers None
Details We don't need to assert we have Giant here. The VM subsystem Sponsored by: Netflix
Diff Detail
Event TimelineComment Actions It is part of the cpu setup code. Actually it is safe to do this manipulation there because
These are the guarantees that this code needs to work. pmap_trm_alloc() allocates memory in the trampoline area which is shared between kernel and userspace. After 4/4 UVA/KVA split was implemented, kernel no longer shares (whole) address space with userspace on i386. |