All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josef Angermeier <Josef.Angermeier@informatik.uni-erlangen.de>
To: linuxppc-embedded@ozlabs.org
Subject: "lseek/write char driver" versus "usermode iomem access"
Date: Wed, 29 Mar 2006 10:22:30 +0200	[thread overview]
Message-ID: <442A43C6.5050605@cs.fau.de> (raw)


Hello,

besides adapting linux to my custom board, i now have to write a driver 
for a special device. This device mainly consists of an up to 512 bytes 
big IO memory. Because performance matters alot, i wonder if i shall 
write a simple char driver offering a write/lseek-interface to access 
this memory or if i shall do something new to me, mapping the IO-memory 
to the userspace, so that the user-program can directly access the 
device memory. Can anyone tell me how performance probably differs 
between those two design.

Thanks, you probably save me alot of time to tryout!

Josef

             reply	other threads:[~2006-03-29  8:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-29  8:22 Josef Angermeier [this message]
2006-03-29 16:46 ` "lseek/write char driver" versus "usermode iomem access" David Hawkins

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=442A43C6.5050605@cs.fau.de \
    --to=josef.angermeier@informatik.uni-erlangen.de \
    --cc=linuxppc-embedded@ozlabs.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 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.