Skip to content
Discussion options

You must be logged in to vote

I guess what you are asking is to identify the original read/write request that triggers a migration, right?

There are two possible methods. One is to add a details field in the translation request, which should have type map[string]any. Then, for every time when you creat a translation request, you can carry the memory access request.

The second method is more difficult but may require less intrusive code modification. You can create a tracer that applies to the address translator, TLBs, and MMU. Since the tasks are organized in a tree hierarchy, you can always back trace to the original memory access request. You can check our visualization tracer as an example.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Pikaasa
Comment options

Answer selected by Pikaasa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants