Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3646548.3676548acmconferencesArticle/Chapter ViewAbstractPublication PagessplcConference Proceedingsconference-collections
research-article
Open access

Kconfig metamodel: a first approach

Published: 02 September 2024 Publication History

Abstract

Kconfig is the de facto configuration language for describing and configuring the variability of the Linux kernel. Nonetheless, it has been used since the early stages of kernel development. Moreover, Kconfig is also used as a niche configuration languages, such as microkernel compilation for air navigation systems, proprietary routers or embedded systems. In the last decade, the software product line (SPL) community worked intensively on observing Linux Kernel and Kconfig. However, the official documentation is difficult to understand, and the examples are long and challenging to synthesize for non-Kconfig experts, such as SPL engineers, and researchers. In this paper, we propose a Kconfig metamodel based on the documentation and the feedback of a kernel developer expert. Thanks to this metamodel, the design of transformations from Kconfig to other variability models such as UVL (Universal Variability Language) can be facilitated. To our knowledge, this is the first proposal for a metamodel of the Kconfig language. This opens the door to further research, such as Kconfig analysis and transformations, and leverage interoperability among the Kconfig toolchain and SPL tools.

References

[1]
Mathieu Acher, Hugo Martin, Luc Lesoil, Arnaud Blouin, Jean-Marc Jézéquel, Djamel Eddine Khelladi, Olivier Barais, and Juliana Alves Pereira. 2022. Feature subset selection for learning huge configuration spaces: the case of linux kernel size. In Proceedings of the 26th ACM International Systems and Software Product Line Conference - Volume A (Graz, Austria) (SPLC ’22). Association for Computing Machinery, New York, NY, USA, 85–96. https://doi.org/10.1145/3546932.3546997
[2]
D. Benavides, C. Sundermann, S. Vill, K. Feichtinger, José A. Galindo, R. Rabiser, and T. Thüm. 2024. UVL: Feature Modelling with the Universal Variability Language. Journal of Systems and Software (2024), submitted. https://doi.org/10.2139/ssrn.4764657
[3]
Thorsten Berger, Steven She, Rafael Lotufo, Andrzej Wasowski, and Krzysztof Czarnecki. 2013. A Study of Variability Models and Languages in the Systems Software Domain. Software Engineering, IEEE Transactions on 39 (12 2013), 1611–1640. https://doi.org/10.1109/TSE.2013.34
[4]
Ron Brightwell, Rolf Riesen, Keith Underwood, Trammell Hudson, Patrick Bridges, and Arthur Maccabe. 2004. A performance comparison of Linux and a lightweight kernel, Vol. 2003. 251– 258. https://doi.org/10.1109/CLUSTR.2003.1253322
[5]
David Fernandez-Amoros, Ruben Heradio, Christoph Mayr-Dorn, and Alexander Egyed. 2019. A kconfig translation to logic with one-way validation system. ACM International Conference Proceeding Series A (2019). https://doi.org/10.1145/3336294.3336313
[6]
Daniel Friesel, Kathrin Elmenhorst, Lennart Kaiser, Michael Müller, and Olaf Spinczyk. 2022. kconfig-webconf: Retrofitting Performance Models onto Kconfig-Based Software Product Lines. 26th ACM International Systems and Software Product Line Conference, SPLC 2022 - Proceedings B (2022), 58 – 61. https://doi.org/10.1145/3503229.3547026
[7]
José A. Galindo, Jose-Miguel Horcas, Alexander Felferning, David Fernandez-Amoros, and David Benavides. 2023. FLAMA: A collaborative effort to build a new framework for the automated analysis of feature models. In Proceedings of the 27th ACM International Systems and Software Product Line Conference - Volume B (Tokyo, Japan) (SPLC ’23). Association for Computing Machinery, New York, NY, USA, 16–19. https://doi.org/10.1145/3579028.3609008
[8]
Kyo C. Kang, Sholom Cohen, James A. Hess, William E. Novak, and A. S. Peterson. 1990. Feature-Oriented Domain Analysis (FODA) Feasibility Study. (1990). https://doi.org/10.21236/ADA235785
[9]
Che-Tai Lee, Zeng-Wei Rong, and Jim-Min Lin. 2003. Linux kernel customization for embedded systems by using call graph approach. 689– 692. https://doi.org/10.1109/ASPDAC.2003.1195109
[10]
Jae Yun Moon and Lee Sproull. 2000. Essence of Distributed Work: The Case of the Linux Kernel.First Monday 5 (04 2000). https://doi.org/10.5210/fm.v5i11.801
[11]
Andres Ocampo, Mah Rukh, Ahmed Elmokashfi, and Haakon Bryhni. 2024. Assessing the Cloud-RAN in the Linux Kernel: Sharing Computing and Network Resources. Sensors 24 (04 2024), 2365. https://doi.org/10.3390/s24072365
[12]
Leonardo Passos, Leopoldo Teixeira, Nicolas Dintzner, Sven Apel, Andrzej Wasowski, Krzysztof Czarnecki, Paulo Borba, and Jianmei Guo. 2015. Coevolution of variability models and related software artifacts: A fresh look at evolution patterns in the Linux kernel. Empirical Software Engineering 21 (05 2015). https://doi.org/10.1007/s10664-015-9364-x
[13]
Jignesh Patoliya, Sagarkumar Patel, Miral Desai, and Karan Patel. 2021. Embedded Linux Based Smart Secure IoT Intruder Alarm System Implemented on BeagleBone Black. 343–355. https://doi.org/10.1007/978-981-16-0708-0_28
[14]
David Romero-Organvidez, José A. Galindo, Chico Sundermann, Jose-Miguel Horcas, and David Benavides. 2024. UVLHub: A feature model data repository using UVL and open science principles. Journal of Systems and Software (2024), 112150. https://doi.org/10.1016/j.jss.2024.112150
[15]
Sandip Shinde, Gourav Suram, Mayur Khadde, Shrutika Gade, Vaishnavi Arthamwar, and Palak Pardeshi. 2024. Vitunix: A Lightweight and Secure Linux Distribution. 191–202. https://doi.org/10.1007/978-981-99-9811-1_15
[16]
C. Sundermann, S. Vill, T. Thüm, K. Feichtinger, P. Agarwal, R. Rabiser, José A. Galindo, and D. Benavides. 2023. UVLParser: Extending UVL with Language Levels and Conversion Strategies. In 27th ACM International Systems and Software Product Line Conference (SPLC 2023) (Tokyo, Japan). ACM, to appear.
[17]
Andrzej Wasowski and Thorsten Berger. 2023. Software Product Lines. 395–435. https://doi.org/10.1007/978-3-031-23669-3_11
[18]
Kaan Berk Yaman, Jan Willem Wittler, and Christopher Gerking. 2024. Kfeature: Rendering the Kconfig System into Feature Models. ACM International Conference Proceeding Series (2024), 134 – 138. https://doi.org/10.1145/3634713.3634731

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SPLC '24: Proceedings of the 28th ACM International Systems and Software Product Line Conference
September 2024
103 pages
This work is licensed under a Creative Commons Attribution International 4.0 License.

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 02 September 2024

Check for updates

Author Tags

  1. Kconfig
  2. linux kernel
  3. metamodel
  4. variability

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Funding Sources

  • Junta de Andalucía/State Research Agency
  • CDTI
  • FEDER/Ministry of Science, Innovation and Universities

Conference

SPLC '24
Sponsor:

Acceptance Rates

Overall Acceptance Rate 167 of 463 submissions, 36%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 54
    Total Downloads
  • Downloads (Last 12 months)54
  • Downloads (Last 6 weeks)25
Reflects downloads up to 10 Nov 2024

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media