Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Simplifying Livepatch Callbacks, Shadow Variables, and State Handling

Linux Plumbers Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the complexities of handling livepatch callbacks, shadow variables, and states in Linux kernel development. Dive into a detailed analysis of the current challenges and proposed solutions for improving the livepatch feature. Learn about the intricacies of implementing critical security and functional bug fixes without system reboots, including the use of pre_patch(), post_patch(), pre_unpatch(), and post_unpatch() callbacks. Examine the role of shadow variables in adding new items to structures and the complications that arise when managing multiple livepatches. Understand the concept of livepatch states and their versioning, as well as the difficulties in connecting callbacks, shadow variables, and states effectively. Consider a proposed redesign that aims to streamline these components, including moving callbacks to struct klp_state, renaming callbacks, and introducing new flags and callbacks for improved state management. Evaluate the pros and cons of this proposal, including its potential impact on API compatibility and callback behavior. Gain insights into the ongoing efforts to enhance the livepatch feature's flexibility and maintainability in the Linux kernel.

Syllabus

Simplify Livepatch Callbacks Shadow Variables and States handling - Petr Mladek

Taught by

Linux Plumbers Conference

Reviews

Start your review of Simplifying Livepatch Callbacks, Shadow Variables, and State Handling

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.