mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 17:59:32 +00:00
sh: Disable unaligned kernel access printks by default.
Certain networking and USB workloads generate floods of these accesses, so just disable it by default (thereby restoring the old behaviour). The option remains configurable from userspace, and can still be used as a debugging aid. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
d5ce010c03
commit
8406638ab0
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ static unsigned long se_multi;
|
||||||
/* bitfield: 1: warn 2: fixup 4: signal -> combinations 2|4 && 1|2|4 are not
|
/* bitfield: 1: warn 2: fixup 4: signal -> combinations 2|4 && 1|2|4 are not
|
||||||
valid! */
|
valid! */
|
||||||
static int se_usermode = 3;
|
static int se_usermode = 3;
|
||||||
/* 0: no warning 1: print a warning message */
|
/* 0: no warning 1: print a warning message, disabled by default */
|
||||||
static int se_kernmode_warn = 1;
|
static int se_kernmode_warn;
|
||||||
|
|
||||||
#ifdef CONFIG_PROC_FS
|
#ifdef CONFIG_PROC_FS
|
||||||
static const char *se_usermode_action[] = {
|
static const char *se_usermode_action[] = {
|
||||||
|
|
Loading…
Reference in a new issue