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 条
  • [1] An indirect hotswapping system for linux kernel modules
    Balde, Thierno Younoussa
    Colesa, Adrian
    Ignat, Losif
    ICCP 2007: IEEE 3RD INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTER COMMUNICATION AND PROCESSING, PROCEEDINGS, 2007, : 201 - +
  • [2] IMPLEMENTING LOADABLE KERNEL MODULES FOR LINUX
    WELSH, M
    DR DOBBS JOURNAL, 1995, 20 (05): : 18 - &
  • [3] Linux Security Modules: General security support for the Linux kernel
    Wright, C
    Cowan, C
    Smalley, S
    Morris, J
    Kroah-Hartman, G
    USENIX ASSOCIATION PROCEEDINGS OF THE 11TH USENIX SECURITY SYMPOSIUM, 2002, : 17 - 31
  • [4] A Memory Model for Deductively Verifying Linux Kernel Modules
    Mandrykin, Mikhail
    Khoroshilov, Alexey
    PERSPECTIVES OF SYSTEM INFORMATICS, PSI 2017, 2018, 10742 : 256 - 275
  • [5] Modeling Environment for Static Verification of Linux Kernel Modules
    Khoroshilov, Alexey
    Mutilin, Vadim
    Novikov, Evgeny
    Zakharov, Ilja
    PERSPECTIVES OF SYSTEM INFORMATICS, PSI 2014, 2015, 8974 : 400 - 414
  • [6] Linux containers networking: performance and scalability of kernel modules
    Claassen, Joris
    Koning, Ralph
    Grosso, Paola
    NOMS 2016 - 2016 IEEE/IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM, 2016, : 713 - 717
  • [7] Safer Linux Kernel Modules Using the D Programming Language
    Staniloiu, Constantin Eduard
    Militaru, Alexandru
    Nitu, Razvan
    Deaconescu, Razvan
    IEEE ACCESS, 2022, 10 : 134502 - 134511
  • [8] Safer Linux Kernel Modules Using the D Programming Language
    Staniloiu, Constantin Eduard
    Militaru, Alexandru
    Nitu, Razvan
    Deaconescu, Razvan
    IEEE Access, 2022, 10 : 134502 - 134511
  • [9] Loadable modules & the Linux 2.6 kernel - Changes to the kernel mean changes must be made elsewhere
    Scarpazza, DP
    DR DOBBS JOURNAL, 2005, 30 (06): : 77 - 80
  • [10] Correlation Between Complex Network Features and Robustness in Linux Kernel Modules
    Wang, Lei
    Wang, Xinchen
    Wu, Dingzeyu
    2017 ANNUAL CONFERENCE ON SOFTWARE ANALYSIS, TESTING AND EVOLUTION (SATE 2017), 2017, : 80 - 89