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 条
  • [41] Asymmetric Software Structures in the Linux Kernel
    Wang, Lei
    Wang, Ping
    Wang, Zhen
    36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE COMPANION 2014), 2014, : 620 - 621
  • [42] Analyzing cloning evolution in the Linux kernel
    Antoniol, G
    Villano, U
    Merlo, E
    Di Penta, M
    INFORMATION AND SOFTWARE TECHNOLOGY, 2002, 44 (13) : 755 - 765
  • [43] Static deadlock detection in the Linux kernel
    Breuer, PT
    Valls, MG
    RELIABLE SOFTWARE TECHNOLOGIES- ADA-EUROPE 2004, 2004, 3063 : 52 - 64
  • [44] HFL: Hybrid Fuzzing on the Linux Kernel
    Kim, Kyungtae
    Jeong, Dae R.
    Kim, Chung Hwan
    Jang, Yeongjin
    Shin, Insik
    Lee, Byoungyoung
    27TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2020), 2020,
  • [45] Adaptive access policy for the Linux Kernel
    Horie, T
    Harada, T
    Tanaka, K
    2005 SYMPOSIUM ON APPLICATIONS AND THE INTERNET, PROCEEDINGS, 2005, : 82 - 88
  • [46] Understanding and isolating the noise in the Linux kernel
    Akkan, Hakan
    Lang, Michael
    Liebrock, Lorie
    INTERNATIONAL JOURNAL OF HIGH PERFORMANCE COMPUTING APPLICATIONS, 2013, 27 (02): : 136 - 146
  • [47] INTSPECT: Interrupt Latencies in the Linux Kernel
    Herzog, Benedict
    Gerhorst, Luis
    Heinloth, Bernhard
    Reif, Stefan
    Hoenig, Timo
    Schroeder-Preikschat, Wolfgang
    2018 VIII BRAZILIAN SYMPOSIUM ON COMPUTING SYSTEMS ENGINEERING (SBESC 2018), 2018, : 83 - 90
  • [48] Practical Safe Linux Kernel Extensibility
    Miller, Samantha
    Zhang, Kaiyuan
    Zhuo, Danyang
    Xu, Shibin
    Krishnamurthy, Arvind
    Anderson, Thomas
    PROCEEDINGS OF THE WORKSHOP ON HOT TOPICS IN OPERATING SYSTEMS (HOTOS '19), 2019, : 170 - 176
  • [49] Linux Kernel Module Development with Rust
    Chen, Shao-Fu
    Wu, Yu-Sung
    2022 5TH IEEE CONFERENCE ON DEPENDABLE AND SECURE COMPUTING (IEEE DSC 2022), 2022,
  • [50] Evolution of the Linux Kernel Variability Model
    Lotufo, Rafael
    She, Steven
    Berger, Thorsten
    Czarnecki, Krzysztof
    Wasowski, Andrzej
    SOFTWARE PRODUCT LINES: GOING BEYOND, 2010, 6287 : 136 - +