mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
Update exit.c
This commit is contained in:
parent
2f87d0916c
commit
f79e098e96
@ -79,10 +79,12 @@
|
||||
#include "exit.h"
|
||||
|
||||
/*
|
||||
* The default value should be high enough to not crash a system that randomly
|
||||
* crashes its kernel from time to time, but low enough to at least not permit
|
||||
* overflowing 32-bit refcounts or the ldsem writer count.
|
||||
* The default value should be set high enough to prevent system crashes
|
||||
* caused by occasional kernel faults, but still low enough to avoid issues
|
||||
* like overflowing 32-bit reference counters or exceeding the writer count
|
||||
* for ldsem.
|
||||
*/
|
||||
|
||||
static unsigned int oops_limit = 10000;
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
|
Loading…
Reference in New Issue
Block a user