]> git.baikalelectronics.ru Git - kernel.git/commit
docs/vm: fix 'mm_count' vs 'mm_users' counter confusion
authorAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 13 Oct 2020 23:54:54 +0000 (16:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 14 Oct 2020 01:38:32 +0000 (18:38 -0700)
commit6d8d7339cd02b8817b0d295f97b5c35e68fcd062
tree8912d12477d70c97e93805c95c60768dac5c3a5c
parentfa862df487673f7ed52cf09b0a8326c0fb518bc0
docs/vm: fix 'mm_count' vs 'mm_users' counter confusion

In the context of the anonymous address space lifespan description the
'mm_users' reference counter is confused with 'mm_count'.  I.e a "zombie"
mm gets released when "mm_count" becomes zero, not "mm_users".

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Link: https://lkml.kernel.org/r/1597040695-32633-1-git-send-email-agordeev@linux.ibm.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/vm/active_mm.rst