summaryrefslogtreecommitdiff
path: root/Documentation/networking/scaling.txt
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2015-03-24 02:01:40 (GMT)
committerRusty Russell <rusty@rustcorp.com.au>2015-03-24 02:02:37 (GMT)
commitcc9e605dc6cb2e32fedae4ac2f61ad3b5f8d623d (patch)
treecdc55e6352c7cb5766f3784ef867165ad5dc7737 /Documentation/networking/scaling.txt
parent7b63c3ab9b10b8a9cdc6b3a9e0e3d6a8a5d28970 (diff)
downloadlinux-cc9e605dc6cb2e32fedae4ac2f61ad3b5f8d623d.tar.xz
module: do not print allocation-fail warning on bogus user buffer size
init_module(2) passes user-specified buffer length directly to vmalloc(). It makes warn_alloc_failed() to print out a lot of info into dmesg if user specified insane size, like -1. Let's silence the warning. It doesn't add much value to -ENOMEM return code. Without the patch the syscall is prohibitive noisy for testing with trinity. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Dave Jones <davej@codemonkey.org.uk> Cc: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'Documentation/networking/scaling.txt')
0 files changed, 0 insertions, 0 deletions