NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/60189: physio() is unnecessarily brittle
The following reply was made to PR kern/60189; it has been noted by GNATS.
From: Jason Thorpe <thorpej%me.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/60189: physio() is unnecessarily brittle
Date: Mon, 13 Apr 2026 05:36:41 +0100
> On Apr 13, 2026, at 5:25=E2=80=AFAM, thorpej%me.com@localhost via gnats =
<gnats-admin%netbsd.org@localhost> wrote:
>=20
> Suggested solution: a form of uvm_fault_wire() that can enter mappings =
for the user pages into an already-allocated physio address range as the =
pages are wired (and thus PAs of those pages thus readily available =
without having to ask the pmap to preserve them).
Alternative solution: a form of uvm_fault_wire() that takes invokes a =
callback for each page that gets wired, passing the PA of that page for =
collection to be used later by vmapbuf().
-- thorpej
Home |
Main Index |
Thread Index |
Old Index