Subject: Re: "pmap_unwire: wiring ... didn't change!"
To: None <email@example.com>
From: Izumi Tsutsui <firstname.lastname@example.org>
Date: 03/21/2005 10:27:52
In article <20050320191346.GA27918@spathi.chuq.com>
> > pmap_enter(vm_map_pmap(phys_map), kva, pa,
> > - VM_PROT_READ | VM_PROT_WRITE, PMAP_WIRED);
> > + VM_PROT_READ | VM_PROT_WRITE,
> > + VM_PROT_READ | VM_PROT_WRITE | PMAP_WIRED);
> we shouldn't pass VM_PROT_WRITE in the pmap_enter() flags (the last arg)
> if the user memory isn't going to be modified. the buffer's read/write flags
> are from the perspective of the device, so the user memory is only modified
> if B_READ is set.
Ok, I think this change shouldn't affect the data corruption problem,
so I'll leave this part.