|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 7/9] x86/mm: make sure there is one exit path for modify_xen_mappings
On 02.10.2019 19:16, Hongyan Xia wrote:
> @@ -5468,7 +5469,11 @@ int modify_xen_mappings(unsigned long s, unsigned long
> e, unsigned int nf)
> /* PAGE1GB: shatter the superpage and fall through. */
> l2t = alloc_xen_pagetable();
> if ( !l2t )
> - return -ENOMEM;
> + {
> + ASSERT(rc == -ENOMEM);
> + goto out;
> + }
Same as for patch 5 - I think these ASSERT()s aren't very helpful.
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 |