Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #5069

Transactional Memory Everywhere: I/O Operations

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From Horizon68 <horizon@horizon.com>
Newsgroups comp.programming.threads
Subject Transactional Memory Everywhere: I/O Operations
Date Sun, 30 Jun 2019 11:17:59 -0700
Organization A noiseless patient Spider
Lines 26
Message-ID <qfaucn$cjd$4@dont-email.me> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sun, 30 Jun 2019 18:17:59 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="e9f3b151178fffd6dd5fa86c31d3d125"; logging-data="12909"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hj77blrRjZbKhdQb9qLcVFQYJEra9m0Y="
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2
Cancel-Lock sha1:wNdwwH/Ie0Rwt+TBsJ43QNydTuI=
Content-Language en-US
X-Mozilla-News-Host news://news.eternal-september.org:119
Xref csiph.com comp.programming.threads:5069

Show key headers only | View raw


Hello..


Transactional Memory Everywhere: I/O Operations

One can execute I/O operations within a lock-based critical section,
and, at least in principle, from within an RCU read-side critical
section.  What happens when you attempt to execute an I/O operation from
within a transaction?

The underlying problem is that transactions may be rolled back, for
example, due to conflicts.  Roughly speaking, this requires that all
operations within any given transaction be idempotent, so that executing
the operation twice has the same effect as executing it once.
Unfortunately, I/O is in general the prototypical non-idempotent
operation, making it difficult to include general I/O operations in
transactions.

Read more here:

https://mirrors.edge.kernel.org/pub/linux/kernel/people/paulmck/Answers/TransactionalMemoryEverywhere/IO.html 



Thank you,
Amine Moulay Ramdane.

Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread


Thread

Transactional Memory Everywhere: I/O Operations Horizon68 <horizon@horizon.com> - 2019-06-30 11:17 -0700

csiph-web