|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] gnttab: propagate Reserved flag from old to new
>>> Ian Campbell <ian.campbell@xxxxxxxxxx> 23.02.10 17:40 >>>
>--- a/drivers/xen/grant-table.c
>+++ b/drivers/xen/grant-table.c
>@@ -558,9 +558,12 @@ int gnttab_copy_grant_page(grant_ref_t ref, struct page
>**pagep)
> new_page->mapping = page->mapping;
> new_page->index = page->index;
> set_bit(PG_foreign, &new_page->flags);
>+ if (PageReserved(page))
>+ set_bit(PG_reserved, &new_page->flags);
Why not SetPageReserved()?
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|