Title: Hotswapping Linux kernel modules
Authors: Lee, YF
Chang, RC
資訊工程學系
Department of Computer Science
Keywords: dynamic software update;hotswapping;Linux kernel;module;operating system
Issue Date: 1-Feb-2006
Abstract: 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.
URI: http://dx.doi.org/10.1016/j.jss.2005.05.011
http://hdl.handle.net/11536/12641
ISSN: 0164-1212
DOI: 10.1016/j.jss.2005.05.011
Journal: JOURNAL OF SYSTEMS AND SOFTWARE
Volume: 79
Issue: 2
Begin Page: 163
End Page: 175
Appears in Collections:Articles


Files in This Item:

  1. 000235818400002.pdf

If it is a zip file, please download the file and unzip it, then open index.html in a browser to view the full text content.