ksm: add the ksm prefix to the names of the ksm private structures

Conflicts: mm/kdm.c -
	We already have
	23f746e412b4 ("ksm: convert ksm_mm_slot.mm_list to ksm_mm_slot.mm_node")
	79b099415637 ("ksm: convert ksm_mm_slot.link to ksm_mm_slot.hash")
	58730ab6c7ca ("ksm: convert to use common struct mm_slot")
	so struct ksm_mm_slot is reduced to slot and rmap_list and
	alloc_mm_slot, free_mm_slot, get_mm_slot, and insert_to_mm_slots_hash
	are not added

JIRA: https://issues.redhat.com/browse/RHEL-27736

commit 21fbd59136e0773e0b920371860d9b6757cdb250
Author: Qi Zheng <zhengqi.arch@bytedance.com>
Date:   Wed Aug 31 11:19:48 2022 +0800

    ksm: add the ksm prefix to the names of the ksm private structures

    In order to prevent the name of the private structure of ksm from being
    the same as the name of the common structure used in subsequent patches,
    prefix their names with ksm in advance.

    Link: https://lkml.kernel.org/r/20220831031951.43152-5-zhengqi.arch@bytedanc
e.com
    Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Cc: Matthew Wilcox <willy@infradead.org>
    Cc: Mike Rapoport <rppt@kernel.org>
    Cc: Minchan Kim <minchan@kernel.org>
    Cc: Vlastimil Babka <vbabka@suse.cz>
    Cc: Yang Shi <shy828301@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Chris von Recklinghausen <crecklin@redhat.com>
This commit is contained in:
Chris von Recklinghausen 2024-04-01 11:19:59 -04:00
parent 57fcb30cb2
commit e26f18fd82
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@
/**
* struct ksm_mm_slot - ksm information per mm that is being scanned
* @slot: hash lookup from mm to mm_slot
* @link: link to the mm_slots hash list
* @rmap_list: head for this mm_slot's singly-linked list of rmap_items
*/
struct ksm_mm_slot {