Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • drivers
  • base
  • node.c
Find file BlameHistoryPermalink
  • Muchun Song's avatar
    mm: hugetlb: simplify per-node sysfs creation and removal · b958d4d0
    Muchun Song authored Sep 14, 2022
    Patch series "simplify handling of per-node sysfs creation and removal",
    v4.
    
    
    This patch (of 2):
    
    The following commit offload per-node sysfs creation and removal to a
    kworker and did not say why it is needed.  And it also said "I don't know
    that this is absolutely required".  It seems like the author was not sure
    as well.  Since it only complicates the code, this patch will revert the
    changes to simplify the code.
    
      39da08cb ("hugetlb: offload per node attribute registrations")
    
    We could use memory hotplug notifier to do per-node sysfs creation and
    removal instead of inserting those operations to node registration and
    unregistration.  Then, it can reduce the code coupling between node.c and
    hugetlb.c.  Also, it can simplify the code.
    
    Link: https://lkml.kernel.org/r/20220914072603.60293-1-songmuchun@bytedance.com
    Link: https://lkml.kernel.org/r/20220914072603.60293-2-songmuchun@bytedance.com
    
    
    Signed-off-by: default avatarMuchun Song <songmuchun@bytedance.com>
    Acked-by: default avatarMike Kravetz <mike.kravetz@oracle.com>
    Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Muchun Song <songmuchun@bytedance.com>
    Cc: Oscar Salvador <osalvador@suse.de>
    Cc: Rafael J. Wysocki <rafael@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    b958d4d0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7