lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20221224060233.417827-1-kele.huang@columbia.edu>
Date:   Sat, 24 Dec 2022 01:02:33 -0500
From:   Kele Huang <kele.huang@...umbia.edu>
To:     akpm@...ux-foundation.org, willy@...radead.org, vbabka@...e.cz,
        david@...hat.com, Liam.Howlett@...cle.com, hughd@...gle.com,
        peterx@...hat.com, yuzhao@...gle.com, ccross@...gle.com,
        arnd@...db.de, pasha.tatashin@...een.com
Cc:     linux-kernel@...r.kernel.org, Kele Huang <kele.huang@...umbia.edu>
Subject: [PATCH] mm: fix comment of page table counter

Commit af5b0f6a09e42 ("mm: consolidate page table accounting")
consolidates page table accounting to a single counter
in struct mm_struct {} as mm->pgtables_bytes. So the meanning of
this counter should be the size of all page tables now.

Signed-off-by: Kele Huang <kele.huang@...umbia.edu>
---
 include/linux/mm_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index 3b8475007734..1c06c3cb6530 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -647,7 +647,7 @@ struct mm_struct {
 		atomic_t mm_count;
 
 #ifdef CONFIG_MMU
-		atomic_long_t pgtables_bytes;	/* PTE page table pages */
+		atomic_long_t pgtables_bytes;	/* size of all page tables */
 #endif
 		int map_count;			/* number of VMAs */
 
-- 
2.38.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ