usbip: hide "Not yet implemented" message to improve performance

QubesOS/qubes-issues#531
pull/4/head
Marek Marczykowski-Górecki 8 years ago
parent eaa1f57699
commit 69126ad1cf
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -0,0 +1,17 @@
vhci_get_frame_number is called really often for USB cameras and this message
alone is responsible for major performance drop. Since the driver seems to
function ok, simply disable the message for now.
diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c
index 7fbe19d..313a79b 100644
--- a/drivers/usb/usbip/vhci_hcd.c
+++ b/drivers/usb/usbip/vhci_hcd.c
@@ -928,7 +928,7 @@ static void vhci_stop(struct usb_hcd *hcd)
static int vhci_get_frame_number(struct usb_hcd *hcd)
{
- pr_err("Not yet implemented\n");
+ //pr_err("Not yet implemented\n");
return 0;
}

@ -11,6 +11,8 @@ patches.xen/irq-bind-debug-log.patch
patches.xen/pvops-blkfront-removable-flag.patch
patches.xen/pvops-blkfront-eject-support.patch
patches.qubes/usbip-disable-not-implemented-error.patch
# Security fixes
patches.xen/xsa155-linux-0008-xen-Add-RING_COPY_RESPONSE.patch
patches.xen/xsa155-linux44-0009-xen-netfront-copy-response-out-of-shared-buffer-befo.patch

Loading…
Cancel
Save