[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 3/9] x86/mm: introduce l{1, 2}t local variables to map_pages_to_xen
On 04.12.2019 19:01, Xia, Hongyan wrote: >>> @@ -5272,6 +5279,7 @@ int map_pages_to_xen( >>> ((1u << PAGETABLE_ORDER) - 1)) == 0)) ) >>> { >>> unsigned long base_mfn; >>> + l1_pgentry_t *l1t; >> >> const, as this looks to be used for lookup only? > > I cannot do this for now since variables like l1t are still using the > old API which is non-const. I can change it once they are switched to > the new const API in later patches. Maybe I've indeed picked an example where this won't work yet, but there look to be cases where the old interface wouldn't get in the way. I'd appreciate if at least those cases could have const added right away. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |