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
  • Documentation
  • ABI
  • testing
  • sysfs-kernel-livepatch
Find file BlameHistoryPermalink
  • Yafang Shao's avatar
    livepatch: Add "replace" sysfs attribute · adb68ed2
    Yafang Shao authored Jun 25, 2024
    
    
    There are situations when it might make sense to combine livepatches
    with and without the atomic replace on the same system. For example,
    the livepatch without the atomic replace might provide a hotfix
    or extra tuning.
    
    Managing livepatches on such systems might be challenging. And the
    information which of the installed livepatches do not use the atomic
    replace would be useful.
    
    Add new sysfs interface 'replace'. It works as follows:
    
       $ cat /sys/kernel/livepatch/livepatch-non_replace/replace
       0
    
       $ cat /sys/kernel/livepatch/livepatch-replace/replace
       1
    
    [ commit log improved by Petr ]
    
    Signed-off-by: default avatarYafang Shao <laoar.shao@gmail.com>
    Reviewed-by: default avatarPetr Mladek <pmladek@suse.com>
    Acked-by: default avatarMiroslav Benes <mbenes@suse.cz>
    Link: https://lore.kernel.org/r/20240625151123.2750-2-laoar.shao@gmail.com
    
    
    Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
    adb68ed2
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7