]> git.baikalelectronics.ru Git - kernel.git/commit
fork_init: update max_threads comment
authorJean Delvare <jdelvare@suse.de>
Thu, 16 Apr 2015 19:47:41 +0000 (12:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:04:06 +0000 (09:04 -0400)
commitcfb46aaf263f476c4ffcac66c7ec67db0eec7d6b
tree28bb1b161b7c59664619686cc0554efb499ca644
parentf8cf9f38ee1dfeefb08b66d14966549f156a8b8f
fork_init: update max_threads comment

The comment explaining what value max_threads is set to is outdated.  The
maximum memory consumption ratio for thread structures was 1/2 until
February 2002, then it was briefly changed to 1/16 before being set to 1/8
which we still use today.  The comment was never updated to reflect that
change, it's about time.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/fork.c