NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/60376: uvm_km: missing pmap_update on free
>Number: 60376
>Category: kern
>Synopsis: uvm_km: missing pmap_update on free
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 27 22:20:00 +0000 2026
>Originator: Kevin Bowling
>Release: trunk
>Organization:
NetBSD
>Environment:
NetBSD kev-ws-t480.cv0.bbox.io 11.99.6 NetBSD 11.99.6 (GENERIC) #0: Sun Jun 21 10:28:09 UTC 2026 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
uvm_km_pgremove needs similar treatment for pmap_update on free.
>How-To-Repeat:
N/A
>Fix:
One was already committed and pulled back to 9, 10, 11:
Module Name: src
Committed By: kbowling
Date: Sat Jun 27 09:39:57 UTC 2026
Modified Files:
src/sys/uvm: uvm_km.c
Log Message:
uvm_km_pgremove_intrsafe: drain TLB shootdown before freeing pages
Call pmap_update(pmap_kernel()) between pmap_kremove and the page
free so the shootdown completes first.
Reviewed by skrll@
To generate a diff of this commit:
cvs rdiff -u -r1.166 -r1.167 src/sys/uvm/uvm_km.c
Home |
Main Index |
Thread Index |
Old Index