Re: MAX_USBFS_BUFFER_SIZE

From: Oliver Neukum
Date: Wed Mar 01 2006 - 15:51:00 EST


Am Mittwoch, 1. MÃrz 2006 21:16 schrieb Renà Rebe:
> Hi,
>
> I wonder if:
>
> drivers/usb/core/devio.c:86
> #define MAX_USBFS_BUFFER_SIZE 16384
>
> is some random, or outdated limit or if there really is some code path that could
> not handle bigger URBs.

We are nice to the VM. 16384 is optimistic anyway. You cannot expect
to repeatedly and reliably allocate larger buffers.

Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/