From: Eugene Surovegin <ebs@ebshome.net>
To: Stefan Nickl <Stefan.Nickl@kontron.com>
Cc: Vijay Padiyar <vijay_padiyar@hotmail.com>,
LinuxPPC Support <linuxppc-embedded@ozlabs.org>
Subject: Re: question about writing to memory directly from user space in Linux
Date: Wed, 23 Mar 2005 09:10:46 -0800 [thread overview]
Message-ID: <20050323171046.GA28922@gate.ebshome.net> (raw)
In-Reply-To: <1111571205.13392.3.camel@lucy.pep-kaufbeuren.de>
On Wed, Mar 23, 2005 at 10:46:45AM +0100, Stefan Nickl wrote:
> On Wed, 2005-03-23 at 14:25 +0530, Vijay Padiyar wrote:
> > Can you suggest some kind of a "synchronization" function which I can call
> > from *user space* which will ensure that all values written to mmaped memory
> > locations from user space are actually flushed to their physical locations?
> > I think this might be a potential problem with my code.
>
> Have a look at linux/include/asm-ppc/{io.h,system.h} and
> http://www.xml.com/ldd/chapter/book/ch08.html
>
> The eieio instruction doesn't need supervisor rights.
eieio is a nop on 603e core.
--
Eugene
next prev parent reply other threads:[~2005-03-23 17:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-23 8:55 question about writing to memory directly from user space in Linux Vijay Padiyar
2005-03-23 9:46 ` Stefan Nickl
2005-03-23 17:10 ` Eugene Surovegin [this message]
2005-03-24 7:44 ` Stefan Nickl
-- strict thread matches above, loose matches on Subject: below --
2005-03-23 10:36 Fillod Stephane
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=20050323171046.GA28922@gate.ebshome.net \
--to=ebs@ebshome.net \
--cc=Stefan.Nickl@kontron.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=vijay_padiyar@hotmail.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;
as well as URLs for NNTP newsgroup(s).