Skip to content

Commit 1abe0a3

Browse files
Alexander Gordeevgregkh
authored andcommitted
pgtable: fix s390 ptdesc field comments
[ Upstream commit 38ca8a1 ] Patch series "minor ptdesc updates", v3. This patch (of 2): Since commit d08d4e7 ("s390/mm: use full 4KB page for 2KB PTE") there is no fragmented page tracking on s390. Fix the corresponding comments. Link: https://lkml.kernel.org/r/cover.1700594815.git.agordeev@linux.ibm.com Link: https://lkml.kernel.org/r/2eead241f3a45bed26c7911cf66bded1e35670b8.1700594815.git.agordeev@linux.ibm.com Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Suggested-by: Heiko Carstens <hca@linux.ibm.com> Cc: Gerald Schaefer <gerald.schaefer@linux.ibm.com> Cc: Vishal Moola (Oracle) <vishal.moola@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Stable-dep-of: 59d9094 ("mm: hugetlb: independent PMD page table shared count") Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 1fd2a57 commit 1abe0a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/mm_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,11 +398,11 @@ FOLIO_MATCH(compound_head, _head_2a);
398398
* @pmd_huge_pte: Protected by ptdesc->ptl, used for THPs.
399399
* @__page_mapping: Aliases with page->mapping. Unused for page tables.
400400
* @pt_mm: Used for x86 pgds.
401-
* @pt_frag_refcount: For fragmented page table tracking. Powerpc and s390 only.
401+
* @pt_frag_refcount: For fragmented page table tracking. Powerpc only.
402402
* @_pt_pad_2: Padding to ensure proper alignment.
403403
* @ptl: Lock for the page table.
404404
* @__page_type: Same as page->page_type. Unused for page tables.
405-
* @_refcount: Same as page refcount. Used for s390 page tables.
405+
* @_refcount: Same as page refcount.
406406
* @pt_memcg_data: Memcg data. Tracked for page tables here.
407407
*
408408
* This struct overlays struct page for now. Do not modify without a good

0 commit comments

Comments
 (0)