A computer-implemented method according to one embodiment includes identifying a data write to a specific position within a virtual address space, determining an entry within a metadata structure that corresponds to the specific position within the virtual address space, and adding state information associated with the data write to the entry within the metadata structure, the state information including a size of the data write within the virtual address space and an alignment of the data write within the virtual address space.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A computer-implemented method, comprising: identifying a data write to a specific position within a virtual address space; determining an entry within a metadata structure that corresponds to the specific position within the virtual address space; and adding state information associated with the data write to the entry within the metadata structure, the state information including a size of the data write within the virtual address space and an alignment of the data write within the virtual address space, the alignment including a left alignment or a right alignment.
2. The computer-implemented method of claim 1 , wherein the virtual address space has an alignment granularity and a size granularity, where the size granularity is different from the alignment granularity.
3. The computer-implemented method of claim 1 , wherein the metadata structure represents the virtual address space at a management layer of a system.
4. The computer-implemented method of claim 1 , wherein the metadata structure includes an array.
5. The computer-implemented method of claim 1 , wherein the metadata structure includes a plurality of entries, where one or more entries within the metadata structure each correspond to a position within the virtual address space where data is stored, and each entry within the metadata structure corresponds to a portion of the virtual address space having a size matching a size granularity of the virtual address space.
6. The computer-implemented method of claim 1 , wherein each entry within the metadata structure includes an indication as to whether a corresponding grain is in use, and a physical address of the corresponding grain.
7. The computer-implemented method of claim 1 , wherein the state information is added as two bits within the entry in the metadata structure, where the two bits indicate a size of the entry, and whether the entry is aligned left or right within a portion of virtual address space represented by the entry within the metadata structure.
8. The computer-implemented method of claim 1 , wherein the size and the alignment of the data write are associated with a numbering of the entry.
9. The computer-implemented method of claim 1 , further comprising adjusting one or more additional entries within the metadata structure, based on the data write.
10. The computer-implemented method of claim 1 , wherein the metadata structure is subdivided into a plurality of self-contained groups, where each self-contained group within the plurality of self-contained groups does not have any entry carryover into adjacent groups.
11. A computer program product for representing an address space of unequal granularity and alignment, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a processor to cause the processor to perform a method comprising: identifying a data write to a specific position within a virtual address space, utilizing the processor; determining an entry within a metadata structure that corresponds to the specific position within the virtual address space, utilizing the processor; and adding, utilizing the processor, state information associated with the data write to the entry within the metadata structure, the state information including a size of the data write within the virtual address space and an alignment of the data write within the virtual address space, the alignment including a left alignment or a right alignment.
12. The computer program product of claim 11 , wherein the virtual address space has an alignment granularity and a size granularity, where the size granularity is different from the alignment granularity.
13. The computer program product of claim 11 , wherein the metadata structure represents the virtual address space at a management layer of a system.
14. The computer program product of claim 11 , wherein the metadata structure includes an array.
15. The computer program product of claim 11 , wherein the metadata structure includes a plurality of entries, where one or more entries within the metadata structure each correspond to a position within the virtual address space where data is stored, and each entry within the metadata structure corresponds to a portion of the virtual address space having a size matching a size granularity of the virtual address space.
16. The computer program product of claim 11 , wherein each entry within the metadata structure includes an indication as to whether a corresponding grain is in use, and a physical address of the corresponding grain.
17. The computer program product of claim 11 , wherein the state information is added as two bits within the entry in the metadata structure, where the two bits indicate a size of the entry, and whether the entry is aligned left or right within a portion of virtual address space represented by the entry within the metadata structure.
18. The computer program product of claim 11 , wherein the size and the alignment of the data write are associated with a numbering of the entry.
19. A system, comprising: a processor; and logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to: identify a data write to a specific position within a virtual address space; determine an entry within a metadata structure that corresponds to the specific position within the virtual address space; and add state information associated with the data write to the entry within the metadata structure, the state information including a size of the data write within the virtual address space and an alignment of the data write within the virtual address space, the alignment including a left alignment or a right alignment.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
May 23, 2018
March 24, 2020
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.