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 条
  • [31] RCU Usage in the Linux Kernel
    McKenney P.E.
    Fernandes J.
    Boyd-Wickizer S.
    Walpole J.
    Operating Systems Review (ACM), 2020, 54 (01): : 47 - 63
  • [32] Loadable kernel modules
    de Goyeneche, JM
    de Sousa, EAF
    IEEE SOFTWARE, 1999, 16 (01) : 65 - +
  • [33] Model checking scheduler of linux kernel
    Liu, Tong-Xuan
    Zhang, Qiong-Sheng
    Chen, Xiao-Wei
    Xu, Lei
    Harbin Gongye Daxue Xuebao/Journal of Harbin Institute of Technology, 2009, 41 (SUPPL. 1): : 148 - 155
  • [34] Snow on silk: A NodeOS in the Linux Kernel
    Princeton University, Princeton
    NJ
    08544, United States
    Lect. Notes Comput. Sci., 1600, (1-19):
  • [35] C++ exceptions & the Linux kernel
    Gylfason, HI
    Hjálmtysson, G
    DR DOBBS JOURNAL, 2005, 30 (09): : 50 - 53
  • [36] Analysis of Linux kernel as a complex network
    Gao, Yichao
    Zheng, Zheng
    Qin, Fangyun
    CHAOS SOLITONS & FRACTALS, 2014, 69 : 246 - 252
  • [37] LKIM: The Linux Kernel Integrity Measurer
    Pendergrass, J. Aaron
    McGill, Kathleen N.
    JOHNS HOPKINS APL TECHNICAL DIGEST, 2013, 32 (02): : 509 - 516
  • [38] Address Space Isolation in the Linux Kernel
    Nider, Joel
    Rapoport, Mike
    Bottomley, James
    SYSTOR '19: PROCEEDINGS OF THE 12TH ACM INTERNATIONAL SYSTEMS AND STORAGE CONFERENCE, 2019, : 194 - 194
  • [39] A performance comparison of Linux and a lightweight kernel
    Brightwell, R
    Riesen, R
    Underwood, K
    Hudson, TB
    Bridges, P
    Maccabe, AB
    IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING, PROCEEDINGS, 2003, : 251 - 258
  • [40] On the Scalability of Linux Kernel Maintainers' Work
    Zhou, Minghui
    Chen, Qingying
    Mockus, Audris
    Wu, Fengguang
    ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 27 - 37