Skip to content

Commit 25356cf

Browse files
Alexander Gordeevtorvalds
authored andcommitted
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>
1 parent 7464061 commit 25356cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Documentation/vm/active_mm.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Active MM
6464
actually get cases where you have a address space that is _only_ used by
6565
lazy users. That is often a short-lived state, because once that thread
6666
gets scheduled away in favour of a real thread, the "zombie" mm gets
67-
released because "mm_users" becomes zero.
67+
released because "mm_count" becomes zero.
6868

6969
Also, a new rule is that _nobody_ ever has "init_mm" as a real MM any
7070
more. "init_mm" should be considered just a "lazy context when no other

0 commit comments

Comments
 (0)