repeatable panic on pageout with 945GM

Michael Butler imb at protected-networks.net
Sat Jun 4 18:59:07 UTC 2016


On 06/04/16 13:47, Konstantin Belousov wrote:

 [ .. snip .. ]

> I believe that this is a bug in amd64 pmap. Fictitious pages are not
> promoted, in particular, the pv_table array does not span over the
> dynamically registered fictitious ranges. As result, pa_to_pvh() returns
> garbage and pvh must not be accessed in the case of 'small_mappings' in
> several pmap functions.  It is typically not accessed, except in case
> when we have to drop and reacquire pv lock, to avoid LOR with pmap.
> 
> i386 does not have the issue, due to pvh_global_lock.
> 
> Below is the supposed fix (not tested).

 [ .. snip .. ]

Is this something I should test and, should it not introduce any other
issues, might get committed?

	imb



More information about the freebsd-current mailing list