From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Parav Pandit <paravpandit@yahoo.com>
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: mechanism to syncronise device access from user and kernel
Date: Sat, 6 Dec 2008 12:40:31 +0000 [thread overview]
Message-ID: <20081206124031.GB4821@srcf.ucam.org> (raw)
In-Reply-To: <377462.57009.qm@web30107.mail.mud.yahoo.com>
On Fri, Dec 05, 2008 at 10:28:27AM -0800, Parav Pandit wrote:
> Hi,
>
> I have a device whose registers are accessed by driver as well as user space application via mmap() area.
>
> How to synchronize the access (avoid race condition) between user space driver and kernel mode driver, in single CPU and multi-CPU systems?
Rewrite userspace to use the kernel driver?
--
Matthew Garrett | mjg59@srcf.ucam.org
prev parent reply other threads:[~2008-12-06 12:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-05 18:28 mechanism to syncronise device access from user and kernel Parav Pandit
2008-12-06 1:08 ` Robert Hancock
2008-12-06 12:40 ` Matthew Garrett [this message]
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=20081206124031.GB4821@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paravpandit@yahoo.com \
/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