[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] pciback: deferred handling of pci configuration space accesses
On 24 Apr 2006, at 14:52, Ryan wrote: Previously, the virtual configuration space handlers ran inthe same context as the event channel interrupt handler (which was oftenatomic if not always atomic). Now the interrupt handler schedules a callback function (a bottom half) in the system work queue (keventd) that will get called in process context at a slightly later time. Thisallows the handlers in the virtual configuration space to run in processcontext and to call any core PCI function regardless of whether it will sleep or not. This is okay in principle, but I found the op_in_progress counter rather confusing and I'm not sure why it's needed? If it's to prevent a double schedule_work() call on a single PCI request then I'm not sure that it's watertight. Does it need to be? -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |