“Towards Reliable and Efficient Kernels in the Agentic Era“
Agentic coding is transforming the way software is developed. However, harnessing the full power of agentic approaches in software engineering, especially for large and complex systems, poses unique security, reliability, and performance challenges. My work addresses these challenges by rethinking our software foundations for the agentic era.
In this talk, I will address the challenges of context switching between processes at very fine granularity to enable efficient tool calls. Although the latest CPUs provide efficient mechanisms to implement memory isolation in user space, isolating kernel contexts and switching between them efficiently is also crucial to ensure each domain has exclusive access to its kernel resources (e.g., file descriptors, system call filters, containers). Our work proposes implicit context switching, which improves switching performance between short-lived domains by more than an order of magnitude over traditional approaches. Furthermore, I will show how to leverage our approach to implement transparent, lightweight processes in user space while preserving strong reliability properties.
In the second part of the talk, I will focus on the challenges in reproducing and diagnosing kernel failures, which inevitably happen in large-scale deployments. My work tackles this problem by making record-replay — a powerful technique for diagnosing the most complex failures — specifically target kernels. By adopting a novel split-recorder design, our approach records kernel executions with significantly lower overhead than traditional full-VM record-replay techniques. These advances pave the way for deploying record-replay techniques in production systems and integrating them into agentic workflows to refine kernels continuously.
Pedro Fonseca is an Associate Professor in the Department of Computer Science at Purdue University, where he leads the Reliable and Secure Systems lab. He works at the intersection of systems, security, architecture, and programming languages, and his recent work focuses on building a reliable and efficient software stack for emerging programming and deployment paradigms. Pedro is the recipient of an NSF CAREER Award, a Google Faculty Research Award, and a Google Research Scholar Award. He routinely transfers technology to industry and has worked with open-source developers to confirm and fix hundreds of bugs found using automated systems. Before Purdue, he graduated from MPI-SWS and the University of Saarland and was a postdoc at the University of Washington.
Date/Time:
Date(s) - Nov 05, 2026
12:00 pm - 1:45 pm
Location:
3400 Boelter Hall
420 Westwood Plaza Los Angeles California 90095