On Wed, 8 Jan 2014, Han Pingtian wrote:
> If echo -1 > /proc/vm/sys/min_free_kbytes, the system will hang.
> Changing proc_dointvec() to proc_dointvec_minmax() in the
> min_free_kbytes_sysctl_handler() can prevent this to happen.
>
> Signed-off-by: Han Pingtian
Acked-by: David Rientjes
Nice
On Wed 08-01-14 16:42:42, Han Pingtian wrote:
> If echo -1 > /proc/vm/sys/min_free_kbytes, the system will hang.
> Changing proc_dointvec() to proc_dointvec_minmax() in the
> min_free_kbytes_sysctl_handler() can prevent this to happen.
You can still do echo $BIG_VALUE >
If echo -1 > /proc/vm/sys/min_free_kbytes, the system will hang.
Changing proc_dointvec() to proc_dointvec_minmax() in the
min_free_kbytes_sysctl_handler() can prevent this to happen.
Signed-off-by: Han Pingtian
---
mm/page_alloc.c |7 ++-
1 files changed, 6 insertions(+), 1
If echo -1 /proc/vm/sys/min_free_kbytes, the system will hang.
Changing proc_dointvec() to proc_dointvec_minmax() in the
min_free_kbytes_sysctl_handler() can prevent this to happen.
Signed-off-by: Han Pingtian ha...@linux.vnet.ibm.com
---
mm/page_alloc.c |7 ++-
1 files changed, 6
On Wed 08-01-14 16:42:42, Han Pingtian wrote:
If echo -1 /proc/vm/sys/min_free_kbytes, the system will hang.
Changing proc_dointvec() to proc_dointvec_minmax() in the
min_free_kbytes_sysctl_handler() can prevent this to happen.
You can still do echo $BIG_VALUE /proc/vm/sys/min_free_kbytes
On Wed, 8 Jan 2014, Han Pingtian wrote:
If echo -1 /proc/vm/sys/min_free_kbytes, the system will hang.
Changing proc_dointvec() to proc_dointvec_minmax() in the
min_free_kbytes_sysctl_handler() can prevent this to happen.
Signed-off-by: Han Pingtian ha...@linux.vnet.ibm.com
Acked-by:
6 matches
Mail list logo