All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Intel X86 hardware transactional memory
@ 2015-02-05  2:21 Xin Tong
  2015-02-05  5:09 ` Patrick Williams III
  0 siblings, 1 reply; 6+ messages in thread
From: Xin Tong @ 2015-02-05  2:21 UTC (permalink / raw)
  To: QEMU Developers

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

If i want to implement Intel X86 hardware transactional memory (HTM) in
QEMU. what would be a good way to track the memory accesses.

I think one possible way is to clear the software tlb on entry to the
transaction and disable (not install any translations) the software TLB
till the end of the transaction.

In the softmmu helper functions, the memory addresses as well as value can
then be tracked in a hashtable and committed to system memory once the
transaction is ready to be committed.

Thanks
Trent

[-- Attachment #2: Type: text/html, Size: 1139 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-02-06  8:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-05  2:21 [Qemu-devel] Intel X86 hardware transactional memory Xin Tong
2015-02-05  5:09 ` Patrick Williams III
2015-02-06  1:52   ` Richard Henderson
2015-02-06  3:36     ` Xin Tong
2015-02-06  6:01       ` Richard Henderson
2015-02-06  8:28   ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.