Skip to contentSkip to conversation

arm64: mm: Allocate ASIDs in pairs

PATCH New figo.zhang 1 participant 2 messages Jan 16, 2018 – Jan 17, 2018

lore
Share & tools
lore

figo.zhang

author
#0 lore raw

PATCH v3 7/20 arm64: mm: Allocate ASIDs in pairs

hi?all:
why we use two? ASID for a?process? what is the benefits?
After KPTI, the kernel?space?mapping?become?non-Global TLB (process-specific TLB)? so we need?one ASID for? process?running in?userspace? and other ASID?for process?running in?kernel?space? it will?switch the ASID when a process? switching?to/form?userpsace?

what is the benefits add?exception trampoline page? it will performance regression?

Best
Figure

author
#1 lore raw

PATCH v3 7/20 arm64: mm: Allocate ASIDs in pairs

Quoted 8 lines · FF

hi?all:
why we use two? ASID for a?process? what is the benefits?
After KPTI, the kernel?space?mapping?become?non-Global TLB (process-specific TLB)? so we need?one ASID for? process?running in?userspace? and other ASID?for process?running in?kernel?space? it will?switch the ASID when a process? switching?to/form?userpsace?

what is the benefits add?exception trampoline page? it will performance regression?

anyone can help to confirm?

Thanks,
FF