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

Re: [Xen-devel] [PATCH 4/4] xen/arm: correctly handle an empty array of platform descs.



> As Linux doesn't play with symbol visibility, we're really alone
> having this problem, and hence indeed need to go through and
> audit all places where the potential for empty ranges exists.

The comment says "Results in more efficient PIC code (no indirections
through GOT or PLT).", how much PIC code is there in the hypervisor
anyway?

> But you said "<" instead of "!=" didn't have any surprising side
> effects, so quite likely we won't need much code to change.

"<" fails because it does process the (non-existent) first entry in the
array. This happened to be "safe" in the case I saw but it wouldn't be
in general.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.