diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2011-11-17 16:41:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-18 14:09:07 -0500 |
commit | 3f5eb8d5688a5266ab943cf94aebe4c0eea726a3 (patch) | |
tree | f91c3a0743c1c7058704b20517f4c533c4a6dbb8 /Documentation/kernel-parameters.txt | |
parent | add1aaeabe6b08ed26381a2a06e505b2f09c3ba5 (diff) |
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 <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index a0c5c5f4fce6..72c68bbec5d4 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -2632,6 +2632,10 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
2632 | [USB] Start with the old device initialization | 2632 | [USB] Start with the old device initialization |
2633 | scheme (default 0 = off). | 2633 | scheme (default 0 = off). |
2634 | 2634 | ||
2635 | usbcore.usbfs_memory_mb= | ||
2636 | [USB] Memory limit (in MB) for buffers allocated by | ||
2637 | usbfs (default = 16, 0 = max = 2047). | ||
2638 | |||
2635 | usbcore.use_both_schemes= | 2639 | usbcore.use_both_schemes= |
2636 | [USB] Try the other device initialization scheme | 2640 | [USB] Try the other device initialization scheme |
2637 | if the first one fails (default 1 = enabled). | 2641 | if the first one fails (default 1 = enabled). |