US 11,836,083 B2
Memory access tracking using a peripheral device
Ran Avraham Koren, Beijing (CN); Ariel Shahar, Jerusalem (IL); Liran Liss, Atzmon (IL); Gabi Liron, Yokneam Illit (IL); and Aviad Shaul Yehezkel, Yokneam Illit (IL)
Assigned to MELLANOX TECHNOLOGIES, LTD., Yokneam (IL)
Filed by Mellanox Technologies, Ltd., Yokneam (IL)
Filed on Nov. 29, 2021, as Appl. No. 17/536,141.
Claims priority of application No. 202111296474.1 (CN), filed on Nov. 3, 2021.
Prior Publication US 2023/0133439 A1, May 4, 2023
Int. Cl. G06F 12/0882 (2016.01); G06F 13/16 (2006.01); G06F 12/0831 (2016.01)
CPC G06F 12/0882 (2013.01) [G06F 12/0833 (2013.01); G06F 12/0835 (2013.01); G06F 13/1673 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A compute node, comprising:
a memory, to store memory pages;
a peripheral bus;
a processor, which is to run software that accesses the memory, and to identify one or more first memory pages that are accessed by the software in the memory; and
a peripheral device, which is to:
directly access one or more second memory pages in the memory of the compute node using Direct Memory Access (DMA); and
notify the processor of the second memory pages that were accessed using DMA,
wherein the processor is further to maintain a data structure that tracks both (i) the first memory pages as identified by the processor and (ii) the second memory pages as notified by the peripheral device, and wherein the peripheral device is to notify the processor of the second memory pages by writing over the peripheral bus directly into the data structure.