<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2026-11-29T19:10:45Z</responseDate><request verb="GetRecord" identifier="oai:repository.rice.edu:1911/118403" metadataPrefix="dim">https://repository.rice.edu/server/oai/request</request><GetRecord><record><header><identifier>oai:repository.rice.edu:1911/118403</identifier><datestamp>2025-09-16T20:46:39Z</datestamp><setSpec>com_1911_8299</setSpec><setSpec>col_1911_13110</setSpec></header><metadata><dim:dim xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" xmlns:doc="http://www.lyncode.com/xoai" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dspace.org/xmlns/dspace/dim http://www.dspace.org/schema/dim.xsd">
   <dim:field mdschema="dc" element="contributor" qualifier="advisor">Cox, Alan L</dim:field>
   <dim:field mdschema="dc" element="creator">Zhou, Yufeng</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2025-05-29T19:27:00Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2025-05-29T19:27:00Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="created">2025-05</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued" lang="en_US">2025-02-28</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="submitted">May 2025</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="updated">2025-05-29T19:27:00Z</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri">https://hdl.handle.net/1911/118403</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">Kernel memory management sits at the critical intersection of performance and security in today&amp;apos;s complex computing environments. In this thesis, we leverage the latest hardware-level support to tackle the interconnected challenges in kernel memory management by examining instruction address translation overheads, introducing new strategies for preserving memory contiguity, and proposing transparent sandboxing mechanisms for user-provided kernel code.

Modern processors suffer significant instruction address translation overhead in a variety of widely used workloads. We show how microarchitectural differences, especially TLB organization, affect these overheads and provide insights for reducing translation costs. Based on our findings, we recommend both kernel- and hardware-level approaches to automatically lower instruction address translation overhead. Next, we propose novel kernel-level heuristics to control memory fragmentation. These heuristics preserve and recover contiguity by protecting actively populating reservations, delaying a complete drain of contiguity in the buddy allocator, and proactively relocating constituents in inactive reservations. Our results demonstrate the subtle ways in which memory fragmen- tation persists in long-running systems and show that our approach virtually eliminates fragmentation-induced allocation failures. Finally, we address the challenge of isolating user-provided programs that execute in the kernel, while still allowing controlled access to shared kernel memory. Specifically, we propose a transparent sandboxing scheme for Linux eBPF that leverages the AArch64 Memory Tagging Extension, providing lightweight defense-in-depth for user-supplied code executed within the live kernel.</dim:field>
   <dim:field mdschema="dc" element="format" qualifier="mimetype">application/pdf</dim:field>
   <dim:field mdschema="dc" element="language" qualifier="iso" lang="en_US">eng</dim:field>
   <dim:field mdschema="dc" element="rights" lang="en_US">Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder.</dim:field>
   <dim:field mdschema="dc" element="subject">Operating System</dim:field>
   <dim:field mdschema="dc" element="subject">Microarchitecture</dim:field>
   <dim:field mdschema="dc" element="subject">Memory Management</dim:field>
   <dim:field mdschema="dc" element="subject">Memory Hierarchy</dim:field>
   <dim:field mdschema="dc" element="subject">Virtual Memory</dim:field>
   <dim:field mdschema="dc" element="subject">Address Translation</dim:field>
   <dim:field mdschema="dc" element="subject">Translation Lookaside Buffer</dim:field>
   <dim:field mdschema="dc" element="subject">Memory Safety</dim:field>
   <dim:field mdschema="dc" element="subject">Memory Tagging</dim:field>
   <dim:field mdschema="dc" element="subject">Compartmentalization</dim:field>
   <dim:field mdschema="dc" element="subject">Sandboxing</dim:field>
   <dim:field mdschema="dc" element="subject">Memory Fragmentation</dim:field>
   <dim:field mdschema="dc" element="title">Sharing and Isolation in Modern Kernel Memory Management</dim:field>
   <dim:field mdschema="dc" element="type">Thesis</dim:field>
   <dim:field mdschema="dc" element="type" qualifier="material">Text</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="department">Computer Science</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="discipline" lang="en_US">Engineering</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="grantor">Rice University</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="level">Doctoral</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="name">Doctor of Philosophy</dim:field>
   <dim:field mdschema="others" element="access-status">open.access</dim:field>
</dim:dim>
</metadata></record></GetRecord></OAI-PMH>