Amazon patents memory sharing method for secure software handoffs
Amazon has been granted a patent for a method that allows different software layers to share memory pages more efficiently. The system uses a shared table to track which software component owns a specific piece of memory, allowing ownership to be transferred by simply flipping a bit in that table rather than copying data.
In the filing’s own words
Shared translation page tables are used for ownership transfer between software components having different execution privilege levels in a layered design. Each page table entry in a page table for the last translation level can include an ownership indicator to indicate the ownership of a physical page being mapped by the given page table entry by one or more software components. A single page table walk of the shared translation page tables can be performed to change the ownership of the physical page from one software component to another software component by updating the ownership indicator in a page table entry corresponding to that physical page.
What exactly they claim (claim 1)
1. A method comprising: storing, in system memory, a set of page tables with mappings of virtual memory addresses to physical memory addresses associated with physical pages over multiple translation levels, wherein a first page table base address of a first software component points to a lowest level page table in the set of page tables, and a second page table base address of a second software component points to the lowest level page table in the set of page tables, wherein the lowest level page table is shared between the second software component and the first software component, the first software component having a higher execution privilege level than the second software component; determining that an ownership transfer of a physical page in the system memory from the first software component to the second software component is to be performed; performing a page table walk of the set of page tables to determine a mapping of a virtual memory address to a physical memory address associated with the physical page, each page table in the set of page tables comprising page table entries for a corresponding translation level; identifying a page table entry for a last translation level that corresponds to the physical page, the page table entry comprising a first ownership indicator bit to indicate ownership by the first software component and a second ownership indicator bit to indicate ownership by the second software component; determining that the physical page is owned by the first software component based on the first ownership indicator bit being enabled and the second ownership indicator bit being disabled in the page table entry; and performing the ownership transfer of the physical page from the first software component to the second software component by updating the page table entry to disable the first ownership indicator bit and to enable the second ownership indicator bit.
Facts
- Company
- Amazon (Amazon Technologies, Inc.)
- Official title
- Shared translation page tables for ownership transfer
- Patent number
- US12730660B1
- Application number
- 18065291
- Filed
- Dec 13, 2022
- Granted
- Sep 8, 2026
- Inventors
- 4
- Claims
- 20
Classified under
G06F 9/45558 Physics & computingG06F 12/0891 Physics & computingG06F 12/1009 Physics & computingG06F 2009/45583 Physics & computingG06F 2212/152 Physics & computingG06F 2212/683 Physics & computingMore from Amazon in Chips & hardware
- Amazon patents using metal frames to send data between devices Sep 1, 2026
- Amazon patents flexible mat that detects when items are placed or removed Sep 15, 2026
- Amazon patents hardware chip that watches memory for security threats Sep 29, 2026
- Amazon patents chip design that simplifies AI math steps Oct 13, 2026
- Amazon patents modular radio chips that swap wireless standards Oct 20, 2026
Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.