From: Heinrich Schuchardt Date: Thu, 16 Apr 2015 19:47:50 +0000 (-0700) Subject: kernel/sysctl.c: threads-max observe limits X-Git-Tag: omap-for-v4.1/fixes-rc1~115^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16db3d3f1170fb0efca652c9378ce7c5f5cb4232;p=pandora-kernel.git kernel/sysctl.c: threads-max observe limits Users can change the maximum number of threads by writing to /proc/sys/kernel/threads-max. With the patch the value entered is checked against the same limits that apply when fork_init is called. Signed-off-by: Heinrich Schuchardt Cc: Oleg Nesterov Cc: Ingo Molnar Cc: Guenter Roeck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed