Port-mips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pmap - PV_MODIFIED / PV_REFERENCED bits in pv_flags?



> > I'm not sure what's your point and how exactly you tracked the logs,
> > but are you asking that code block should have been removed in rev 1.163?
> 
> I have not tracked all the changes.  My question is just "when
> PV_MODIFIED and/or PV_REFERENCED are set in pv_flags"?

The answer is:
"Those page attributes have been moved from pv_flags in pv_entry
 (which belonged to pmap_physseg) to pvh_attr in vm_page_md in rev 1.163."
(we could track it by checking when pvh_attr was in vmparam.h)

In that revision my intention was to just remove gcc extention
(it was suggetted by Jason to move stuff from physseg to vm_page),
but anyway I'll remove that code block and rename those page attributes
to PGA_FOO like alpha for future readers.
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index