Cross-domain data transfer using deferred page remapping
First Claim
1. A computer system, comprising:
- a network adapter that connects to a network, said network adapter including circuitry for performing data checksum operations;
a computer and an operating system arranged to support multiple processes and multiple domains;
a main memory having at least a portion thereof arranged in pages; and
a virtual memory management unit, operatively connected to said computer and said memory, for managing reads and writes to said memory using page mapping information,wherein said operating system controls ownership of the pages in said memory using page ownership information,wherein said computer system enables the receipt of a physical page of data transferred between domains by reassigning ownership of the physical page within the page ownership information without updating the page mapping information associated with said virtual memory management unit until the domain obtaining ownership needs to read the data, such that burdensome page remapping operations are be avoided or at least deferred until needed,wherein the transfer of the page of data is invoked by a data request,wherein said operating system comprises means for determining whether the requested page of data being received is one of a virtual address request and a physical page memory request,wherein when the requested page is the physical page memory request, said operating system controls the reassigning of ownership of the physical page within the page ownership information without updating the page mapping information, andwherein when the requested page is the virtual address request, said operating system controls the reassigning of ownership of the physical page within page ownership information and said operating system together with said virtual memory management unit update the page mapping information.
2 Assignments
0 Petitions
Accused Products
Abstract
A cross-domain data transfer technique is disclosed in which page remapping operations are eliminated in situations where physical memory addresses can be passed across domains. By passing physical memory addresses across domains instead of virtual memory addresses, the page remapping operations necessarily associated with passing virtual memory addresses across domains can be avoided in many cases. With the receipt of data across domains, page remapping operations are able to be deferred until the data is received in a domain that needs to touch the data. In certain cases, the transfer of data can be completed without ever having to map in the data to the receiving domain'"'"'s address space. With the transmission of data across domains, where possible the pages are borrowed in their physical form. The invention can be embodied in many ways, including system, apparatus or method forms.
70 Citations
17 Claims
-
1. A computer system, comprising:
-
a network adapter that connects to a network, said network adapter including circuitry for performing data checksum operations; a computer and an operating system arranged to support multiple processes and multiple domains; a main memory having at least a portion thereof arranged in pages; and a virtual memory management unit, operatively connected to said computer and said memory, for managing reads and writes to said memory using page mapping information, wherein said operating system controls ownership of the pages in said memory using page ownership information, wherein said computer system enables the receipt of a physical page of data transferred between domains by reassigning ownership of the physical page within the page ownership information without updating the page mapping information associated with said virtual memory management unit until the domain obtaining ownership needs to read the data, such that burdensome page remapping operations are be avoided or at least deferred until needed, wherein the transfer of the page of data is invoked by a data request, wherein said operating system comprises means for determining whether the requested page of data being received is one of a virtual address request and a physical page memory request, wherein when the requested page is the physical page memory request, said operating system controls the reassigning of ownership of the physical page within the page ownership information without updating the page mapping information, and wherein when the requested page is the virtual address request, said operating system controls the reassigning of ownership of the physical page within page ownership information and said operating system together with said virtual memory management unit update the page mapping information. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. In a multitasking computer system supporting multiple domains and virtual memory, a method for transferring a block of data associated with a first domain to a second domain, said method comprising the steps of:
-
(a) receiving a request at a first domain from a second domain for a block of data residing on a portion of physical memory assigned to the first domain; (b) reassigning ownership of the block of data requested from the first domain to the second domain; (c) determining whether the block of data requested is one of a virtual address request and a physical memory request; and (d) remapping virtual addresses in accordance with said reassigning step (b) when said determining step (c) determines that the data request is the virtual address request and not when said determining step (c) determines that the data request is the physical memory requests, wherein burdensome remapping operations are avoided or at least deferred until said determining step (c) determines that a data request is a virtual address request for the reassigned block of data. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
Specification