From: David Woodhouse <dwmw2@infradead.org>
To: Alexander Larsson <alex@cendio.se>
Cc: mtd@infradead.org
Subject: Re: More comments
Date: Mon, 13 Mar 2000 09:15:51 +0000 [thread overview]
Message-ID: <26768.952938951@devel2.axiom.internal> (raw)
In-Reply-To: <Pine.LNX.3.96.1000313094651.32523A-100000@biffen.cendio.se>
alex@cendio.se said:
> That means i have to wrap all write and reads in a function that
> loops over the read/write call.
This has to be done somewhere. Where's best - in _every_ device driver or in
only those front ends which attempt non-block-aligned access?
> Hmm, i think i spoke to soon. It would still need some kind of
> locking. How about an explicit read_lock()/read_unlock(). It could
> even use rw_semaphores to allow concurrent reads from several readers.
Yes - that sounds like a good idea.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next prev parent reply other threads:[~2000-03-13 9:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-12 12:20 More comments Alexander Larsson
2000-03-12 13:44 ` David Woodhouse
2000-03-12 17:16 ` Alexander Larsson
2000-03-12 17:26 ` David Woodhouse
2000-03-13 9:06 ` Alexander Larsson
2000-03-13 9:15 ` David Woodhouse [this message]
2000-03-13 9:42 ` Alexander Larsson
2000-03-28 10:18 ` David Woodhouse
2000-03-28 11:30 ` Alexander Larsson
2000-03-14 17:13 ` David Woodhouse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26768.952938951@devel2.axiom.internal \
--to=dwmw2@infradead.org \
--cc=alex@cendio.se \
--cc=mtd@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox