US2014040589A1PendingUtilityA1
Non-transactional page in memory
Est. expiryAug 1, 2032(~6.1 yrs left)· nominal 20-yr term from priority
Inventors:Takeshi Ogasawara
G06F 12/0842G06F 12/1009
51
PatentIndex Score
0
Cited by
0
References
0
Claims
Abstract
One or more embodiments are directed to allocating a page to put non-shared data to the page, setting a transactional property for the page, the transactional property indicating that data in the page does not need tracking by hardware transactional memory (HTM), in response to detecting an access to the page during a transaction, determining whether the transactional property for the page is set, and in response to determining that the transactional property for the page is set, handling data loaded from the page in a cache as non-transactional data.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method for using resources in a computer with hardware transactional memory (HTM), the method comprising:
allocating a page to put non-shared data to the page; setting a transactional property for the page, the transactional property indicating that data in the page does not need tracking by the HTM; in response to detecting an access to the page during a transaction, determining whether the transactional property for the page is set; and in response to determining that the transactional property for the page is set, handling data loaded from the page in a cache as non-transactional data.
2 . The method of claim 1 , further comprising:
storing a transactional property for each of a plurality of pages in a page table, the plurality of pages including the page.
3 . The method of claim 2 , further comprising:
determining that the transactional property for the page is set by examining the transactional property for the page in the page table.
4 . The method of claim 1 , further comprising:
receiving a request to allocate the page as a non-transactional page based on an argument included in the request.
5 . The method of claim 1 , further comprising:
detecting an access to a second page during the transaction.
6 . The method of claim 5 , further comprising:
in response to determining that a transactional property for the second page is cleared, handling data loaded from the second page in the cache as transactional data.
7 . The method of claim 6 , further comprising:
providing an entry to the HTM corresponding to the data loaded from the second page.
8 . A method comprising:
allocating, by a computer, a page; setting, by the computer, a transactional property for the page, the transactional property indicating whether data in the page needs tracking by hardware transactional memory (HTM); in response to detecting an access to the page during a transaction, determining whether the transactional property indicates that data in the page needs tracking by HTM; and in response to determining that the transactional property indicates that data in the page does not need tracking by HTM, handling data loaded from the page in a memory as non-transactional data.
9 . The method of claim 8 , further comprising:
detecting, by the computer, an access to a second page during the transaction; and in response to determining that a transactional property for the second page indicates that data in the second page needs tracking by HTM, handling data loaded from the second page in the memory as transactional data.
10 . The method of claim 8 , wherein the memory comprises a cache.
11 . A non-transitory computer program product comprising a computer readable storage medium having computer readable program code stored thereon that, when executed by a computer, performs a method for using resources in a computer with hardware transactional memory (HTM), the method comprising:
allocating a page to put non-shared data to the page, setting a transactional property for the page, the transactional property indicating that data in the page does not need tracking by the HTM, in response to detecting an access to the page during a transaction, determining whether the transactional property for the page is set, and in response to determining that the transactional property for the page is set, handling data loaded from the page in a cache as non-transactional data.
12 . The computer program product of claim 11 , wherein the method further comprises:
storing a transactional property for each of a plurality of pages in a page table, the plurality of pages including the page.
13 . The computer program product of claim 12 , wherein the method further comprises:
determining that the transactional property for the page is set by examining the transactional property for the page in the page table.
14 . The computer program product of claim 11 , wherein the method further comprises:
receiving a request to allocate the page as a non-transactional page based on an argument included in the request.
15 . The computer program product of claim 11 , wherein the method further comprises:
detecting an access to a second page during the transaction.
16 . The computer program product of claim 15 , wherein the method further comprises:
in response to determining that a transactional property for the second page is cleared, handling data loaded from the second page in the cache as transactional data.
17 . The computer program product of claim 16 , wherein the method further comprises:
providing an entry to the HTM corresponding to the data loaded from the second page.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.