[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] swiotlb
On 13 Apr 2006, at 21:29, Ky Srinivasan wrote: Given that the function __sync_single() can be called in an interrupt context, why do we call a potentially blocking function (__copy_to_user) from within this function? Good point. Would __copy_to_user_inatomic() be safe? It avoids might_sleep(). We know that the page fault itself (if any) will not block on I/O -- we only use __copy_to_user() to safely catch the fault and return. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |