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

Re: [Xen-devel] Double mapping of iomem assertion



On 19/10/07 08:13, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>> This was introduced by xen changeset 14731, back in April. So Jan is to
>> blame (and me, I suppose!). ;-) I expect it's in a few vendor kernels at
>> this point...
> 
> Indeed, I didn't consider this situation. However, excluding the check
> against current->mm here was on purpose (and hence I'm not certain
> your adding of it was correct) - when used on user mappings,
> ptep_get_and_clear() is expected to return the most up-to-date A/D
> flags, which cannot be achieved through a hypercall. On the contrary,
> the use(s) with init_mm never have such expectations as far as I
> recall, they at best check the returned value for validity/presence/null.

Ah, that's true... I'll fix the fix.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.