{"id":{"repo_id":"rice","oai_identifier":"oai:repository.rice.edu:1911/118403"},"canonical_url":"https://search.ndltd.org/etd/rice/oai:repository.rice.edu:1911/118403","repository":{"repo_id":"rice","name":"Rice University","base_url":"https://repository.rice.edu/server/oai/request"},"display":{"title":"Sharing and Isolation in Modern Kernel Memory Management","abstract":"Kernel memory management sits at the critical intersection of performance and security in today'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.","abstract_html":"Kernel memory management sits at the critical intersection of performance and security in today&#x27;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.","abstract_has_math":false,"creators":["Zhou, Yufeng"],"institution":"Rice University","degree_name":"Doctor of Philosophy","degree_level":"Doctoral","degree_discipline":"Engineering","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Cox, Alan L"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-02-28","date_published":"2025-02-28","updated_at":"2026-11-19T09:24:07Z","subjects":["Operating System","Microarchitecture","Memory Management","Memory Hierarchy","Virtual Memory","Address Translation","Translation Lookaside Buffer","Memory Safety","Memory Tagging","Compartmentalization","Sandboxing","Memory Fragmentation"],"languages":["eng"],"rights":["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."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1911/118403","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1911/118403","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Arice%3Aoai%3Arepository.rice.edu%3A1911%2F118403","prefix":"oai_dc"},"source_record":{"url":"https://repository.rice.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.rice.edu%3A1911%2F118403","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Cox, Alan L"]},{"key":"dc:creator","label":"Author","values":["Zhou, Yufeng"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-05-29T19:27:00Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-05-29T19:27:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2025-05"]},{"key":"dc:date.issued","label":"Date","values":["2025-02-28"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["May 2025"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2025-05-29T19:27:00Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","Text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Doctoral"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Rice University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Operating System","Microarchitecture","Memory Management","Memory Hierarchy","Virtual Memory","Address Translation","Translation Lookaside Buffer","Memory Safety","Memory Tagging","Compartmentalization","Sandboxing","Memory Fragmentation"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1911/118403"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Kernel memory management sits at the critical intersection of performance and security in today'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."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Sharing and Isolation in Modern Kernel Memory Management"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Cox, Alan L"],"dc:creator":["Zhou, Yufeng"],"dc:date.accessioned":["2025-05-29T19:27:00Z"],"dc:date.available":["2025-05-29T19:27:00Z"],"dc:date.created":["2025-05"],"dc:date.issued":["2025-02-28"],"dc:date.submitted":["May 2025"],"dc:date.updated":["2025-05-29T19:27:00Z"],"dc:description.abstract":["Kernel memory management sits at the critical intersection of performance and security in today'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."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/1911/118403"],"dc:language.iso":["eng"],"dc:rights":["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."],"dc:subject":["Operating System","Microarchitecture","Memory Management","Memory Hierarchy","Virtual Memory","Address Translation","Translation Lookaside Buffer","Memory Safety","Memory Tagging","Compartmentalization","Sandboxing","Memory Fragmentation"],"dc:title":["Sharing and Isolation in Modern Kernel Memory Management"],"dc:type":["Thesis","Text"],"others:access_status":["open.access"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Engineering"],"thesis:degree_level":["Doctoral"],"thesis:degree_name":["Doctor of Philosophy"],"thesis:institution_name":["Rice University"]},"updated_at":"2026-11-19T09:24:07Z"}