From: Alan Stern Date: Thu, 17 Nov 2011 21:41:35 +0000 (-0500) Subject: USB: make the usbfs memory limit configurable X-Git-Tag: v3.3-rc1~153^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f5eb8d5688a5266ab943cf94aebe4c0eea726a3;p=pandora-kernel.git USB: make the usbfs memory limit configurable The 16-MB global limit on memory used by usbfs isn't suitable for all people. It's a reasonable default, but there are applications (especially for SuperSpeed devices) that need a lot more. This patch (as1498) creates a writable module parameter for usbcore to control the global limit. The default is still 16 MB, but users can change it at runtime, even after usbcore has been loaded. As a special case, setting the value to 0 is treated the same as the hard limit of 2047 MB. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed