Messages in this thread | | | Date | Wed, 8 Jan 2014 18:26:24 -0800 (PST) | From | David Rientjes <> | Subject | Re: [RFC] mm: prevent set a value less than 0 to 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 <hanpt@linux.vnet.ibm.com>
Acked-by: David Rientjes <rientjes@google.com>
Nice catch!
| |