[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH, RFC] x86/HVM: batch vCPU wakeups
>>> On 10.09.14 at 12:37, <andrew.cooper3@xxxxxxxxxx> wrote: > I am beginning to wonder whether the use of __attribute__((const)) might > help with get_cpu_info(). Despite the explicit stack pointer reference > which is undoubtedly the source of optimisation confusion for the > compiler, inside a function, the result of get_cpu_info() is genuinely > never going to change, even though the compiler can't necessarily prove > the fact. The const and pure attributes, at least when I last checked, get dropped on the floor by gcc (or at least its code generator / optimizer) for inline functions. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |