diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2011-12-19 22:13:07 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-24 20:48:55 (GMT) |
commit | 7281491c594e7b8501eb5dfcf6cd3724f8a1b5b0 (patch) | |
tree | 7f99ca473ffc79baf0cb96b6dfb33de831af494f /Documentation/spinlocks.txt | |
parent | 8bd6026e88cb2eb1e60ee40c7a1a0786b2db6623 (diff) | |
download | linux-fsl-qoriq-7281491c594e7b8501eb5dfcf6cd3724f8a1b5b0.tar.xz |
dynamic_debug: enlarge command/query write buffer
Current query write buffer is 256 bytes, on stack. In comparison, the
ddebug_query boot-arg is 1024. Allocate the buffer off heap, and
enlarge it to 4096 bytes, big enough for ~100 queries (at 40 bytes
each), and error out if not. This makes it play nicely with large
query sets (to be added later). The buffer should be enough for most
uses, and others should probably be split into subsets.
[jbaron@redhat.com: changed USER_BUF_PAGE from 4095 -> 4096 ]
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/spinlocks.txt')
0 files changed, 0 insertions, 0 deletions