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

[Xen-devel] Re: [PATCH] Fix performance problems with mprotect()



"Bruce Rogers" <brogers@xxxxxxxxxx> writes:
> +
> +        /* Allowed to change in Accessed/Dirty flags only. */
> +        BUG_ON((t ^ old) & ~(intpte_t)(_PAGE_ACCESSED|_PAGE_DIRTY));


Are you sure that BUG_ON can't be triggered from the hypercall?
It should error out in this case I think.

-Andi

_______________________________________________
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®.