Hotswapping Linux kernel modules

被引:6
|
作者
Lee, YF [1 ]
Chang, RC [1 ]
机构
[1] Natl Chiao Tung Univ, Dept Comp & Informat Sci, Hsinchu 30050, Taiwan
关键词
dynamic software update; hotswapping; Linux kernel; module; operating system;
D O I
10.1016/j.jss.2005.05.011
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Contemporary operating system kernels are able to improve their functionality by installing kernel extensions at runtime. However, when an existing kernel extension needs to be upgraded, it must be completely removed before the new kernel extension is installed. Consequently, the new kernel extension needs to be run from the beginning, which also influences the applications using this kernel extension. This work describes the design and implementation of a Linux module system that supports hotswapping, in which a module can be replaced while it is in use. Rather than completely removing the old module, the new module can inherit the state held by the old module so the dependent applications are not affected. For example, a Linux file system module can be hotswapped without unmounting the corresponding partitions and terminating the applications that use these partitions. The proposed system is implemented on Linux kernel 2.6.11. Existing modules can be loaded into the hotswap system without change and can be hotswapped by changing only a few lines. Additionally, the hotswap system does not impose any runtime overhead on module invocations. (C) 2005 Elsevier Inc. All rights reserved.
引用
收藏
页码:163 / 175
页数:13
相关论文
共 50 条
  • [21] Understanding Linux kernel vulnerabilities
    Shameli-Sendi, Alireza
    JOURNAL OF COMPUTER VIROLOGY AND HACKING TECHNIQUES, 2021, 17 (04) : 265 - 278
  • [22] Linux kernel development.
    Gordon, RS
    LIBRARY JOURNAL, 2005, 130 (10) : 166 - 166
  • [23] Influence in the Linux Kernel community
    Aaltonen, Timo
    Jokinen, Jyke
    OPEN SOURCE DEVELOPMENT, ADOPTION AND INNOVATION, 2007, 234 : 203 - +
  • [24] Cohesion analysis in Linux kernel
    Vinay Kumar, Reddy K.
    Janakiram, D.
    ASPEC 2006: 13TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2006, : 461 - +
  • [25] The sense of logging in the Linux kernel
    Keyur Patel
    João Faccin
    Abdelwahab Hamou-Lhadj
    Ingrid Nunes
    Empirical Software Engineering, 2022, 27
  • [26] Stability and volatility in the Linux kernel
    Champaign, J
    Malton, A
    Dong, XY
    SIXTH INTERNATIONAL WORKSHOP ON PRINCIPLES OF SOFTWARE EVOLUTION, PROCEEDINGS, 2003, : 95 - 102
  • [27] The sense of logging in the Linux kernel
    Patel, Keyur
    Faccin, Joao
    Hamou-Lhadj, Abdelwahab
    Nunes, Ingrid
    EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (06)
  • [28] LKL: The Linux Kernel Library
    Purdila, Octavian
    Grijincu, Lucian Adrian
    Tapus, Nicolae
    9TH ROEDUNET IEEE INTERNATIONAL CONFERENCE, 2010, : 328 - 333
  • [29] Deadline scheduling in the Linux kernel
    Lelli, Juri
    Scordino, Claudio
    Abeni, Luca
    Faggioli, Dario
    SOFTWARE-PRACTICE & EXPERIENCE, 2016, 46 (06): : 821 - 839
  • [30] Identifying clones in the Linux kernel
    Casazza, G
    Antoniol, G
    Villano, U
    Merlo, E
    Di Penta, M
    FIRST IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2001, : 90 - 97