|
|
 |
|
|
|
|
|
|
|
xen-devel
[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
|
|
|
|
|