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

[Xen-devel] event priority



Hi, Keir,
        Seems current event priority is simple by 
earlier-alloc-higher-priority style, because event ports are allocated
incrementally from 1 and event dispatcher uses bit search instruction
to walk pending events sequentially. Is there any plan (or benefit) to
add more flexible priority policy, since by current way the priority is 
decided completely by compilation sequence of different drivers?

        2nd question is, why is there check/fix upon nested events only
for critical regions at end of hypervisor_callback? Though it's possible
to see nested events occurring at that small slice, seems the
possibility to overflow stack at that place is similar to the normal
nested cases where if some irq handler enables interrupt itself. If we
really want to prevent stack overflow, is it possible to add similar
logic
in CONFIG_DEBUG_STACKOVERFLOW to entry point of callback, 
and thus make this check common for all nested cases? Seems
current logic being there for a long time, and so sorry if I missed
important hints here. :-)

Thanks,
Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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