Re: race with page_referenced_one->ptep_test_and_clear_young and pagetable setup/pulldown

Keir Fraser
2007-10-05T15:46:29Z

On 5/10/07 16:33, "Hugh Dickins" <hugh@veritas.com> wrote:

> If a 2.6.23 fix is needed, I suggest simply excluding split ptlocks
> in the Xen case, as shown by the mm/Kconfig - line in Jan's patch.

I didn't think that nobbling config options for particular pv_ops
implementations was acceptable? I'm rather out of the loop though, and could
be wrong.

The PREEMPT_BITS limitation is a good argument for at least taking the pte
locks in small batches though (small batches is preferable to one-by-one
since we will want to batch the make-readonly-and-pin hypercall requests to
amortise the cost of the hypervisor trap).

-- Keir