Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1141277.1141621acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
Article

Design and implementation of a kernel resource protector for robustness of Linux module programming

Published: 23 April 2006 Publication History

Abstract

Loadable kernel modules supported by Linux provides lots of benefits such as a small-sized kernel, on-demand loading, and easy software upgrading. However, since modules are executed in a privileged mode, trivial misuses in a module may cause critical system halts or deadlock situations. This paper presents a kernel resource protector which prevents kernel from faults generated by modules. The protector models the system in two objects: module object and resource object. By observing the interrelations between the two objects, the protector can detect misuses of modules and take actions to resolve the erroneous situations. Implementation study has shown that the protector can find out memory leaks wasted by modules and can reclaim leaks without degrading system performance. The proposed protector makes Linux more robust, which is required indispensably in the system equipped with NVRAM (Non Volatile RAM) such as FRAM and PRAM.

References

[1]
William Stalling, "Operating Systems: Internals and Design Principles", 5th Edition, Pearson Prentice Hall, 2004.
[2]
Daniel P. Bovet and Marco Cesati, "Understanding the Linux Kernel", 2nd Edition, O'Reilly, 2002.
[3]
Robert Love, "Linux Kernel Development", Developer's Library, 2003.
[4]
Linux Cross Reference, http://lxr.linux.no.
[5]
Cal Erickson, "Memory Leak Detection in Embedded System", http://www.linuxjournal.com
[6]
SecurityFocus, "Linux Kernel Netfilter Memory Leak Local DOS Vulnerability", Error! Hyperlink reference not valid.
[7]
David Evans, "Static Detection of Dynamic Memory Errors", PLDI 1996, http://www.cs.virginia.edu/~evans/
[8]
Jim Patrick, "Handling memory leaks in JAVA programs", http://www-106.ibm.com/developerworks/java/library/j-leaks/
[9]
Memory Leak Checker, http://www.thefreecountry.com/sourcecode/

Cited By

View all
  • (2015)Automated resource release in device driversProceedings of the 2015 IEEE 26th International Symposium on Software Reliability Engineering (ISSRE)10.1109/ISSRE.2015.7381811(172-182)Online publication date: 2-Nov-2015
  • (2013)A Framework for Porting Linux OS to a cc-NUMA Server Based on Loongson ProcessorsEmerging Technologies for Information Systems, Computing, and Management10.1007/978-1-4614-7010-6_25(215-222)Online publication date: 2013

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SAC '06: Proceedings of the 2006 ACM symposium on Applied computing
April 2006
1967 pages
ISBN:1595931082
DOI:10.1145/1141277
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 23 April 2006

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. fault tolerance
  2. linux kernel
  3. loadable module
  4. memory leak
  5. reclaim
  6. resource protector
  7. robustness
  8. slab allocator

Qualifiers

  • Article

Conference

SAC06
Sponsor:

Acceptance Rates

Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 29 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2015)Automated resource release in device driversProceedings of the 2015 IEEE 26th International Symposium on Software Reliability Engineering (ISSRE)10.1109/ISSRE.2015.7381811(172-182)Online publication date: 2-Nov-2015
  • (2013)A Framework for Porting Linux OS to a cc-NUMA Server Based on Loongson ProcessorsEmerging Technologies for Information Systems, Computing, and Management10.1007/978-1-4614-7010-6_25(215-222)Online publication date: 2013

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media