On 04/19/2016 08:31 PM, Jan Beulich wrote:
snip
+ ASSERT(spin_is_locked(&payload_lock));
+ list_for_each_entry ( data, &payload_list, list )
+ {
+ unsigned int i;
+
+ for ( i = 0; i < data->nsyms; i++ )
+ {
+ if ( !data->symtab[i].new_symbol )
+ continue;
Do you need symbols other than those marked "new_symbol" past the loading
of the module? If not, wouldn't it be worthwhile to shrink the symbol table to
just
those, likely speeding up the lookup?
new_symbol indicates whether it is newly introduced in this binary patch
or whether it overrides a symbol in a previous binary patch (or the core
binary). Either way, the symbol will be used when resolving a backtrace.
--
Ross Lagerwall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel