|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Fwd: Re: struct page field arrangement
On 16/3/07 12:11, "Keir Fraser" <keir@xxxxxxxxxxxxx> wrote:
>> page_referenced_one() in mm/rmap.c). If this happens when
>> xen_pgd_unpin() has already passed the respective pte page, but
>> mm_walk() hasn't reached the page, yet, the update will fail (if done
>> directly, ptwr will no pick this up, and if done through a hypercall, the
>> call would fail, likely producing a BUG()).
>
> What kind of stress test did you run? I was expecting that unpin would be
> okay because we only call mm_unpin() from _arch_exit_mmap() if the mm_count
> is 1 (which I believe means the mm is not active in any task).
And actually the pinning happens on activate_mm() in most cases, which I
would expect to be 'early enough' since noone can run on the mm before that?
If you've managed to provoke bugs then that's very interesting (and scary)!
I suppose if I understand the rmap case correctly, we're still susceptible
to the paging kernel thread trying to page things out at any time? Is that
what you think you've been seeing go wrong?
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|