From: Matthew Wilcox <matthew@wil.cx>
To: "Mukker, Atul" <Atul.Mukker@lsi.com>
Cc: Jeff Garzik <jeff@garzik.org>,
Julian Calaby <julian.calaby@gmail.com>,
adam radford <aradford@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Austria, Winston" <Winston.Austria@lsi.com>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: [RFQ] New driver architecture questions
Date: Fri, 15 May 2009 12:16:41 -0600 [thread overview]
Message-ID: <20090515181641.GB15360@parisc-linux.org> (raw)
In-Reply-To: <6C678488C5CEE74F813A4D1948FD2DC7A96C7848@cosmail02.lsi.com>
On Fri, May 15, 2009 at 12:03:39PM -0600, Mukker, Atul wrote:
> > The solution to "We have some people who speak French and other people who
> > speak German" is not to invent Esperanto ;-)
> [Atul] We really wish they could communicate in English :-), since that's not an option, we agree in principle that using native Linux Kernel APIs wherever possible is probably a good idea.
I'd stick to the C APIs where possible ... oh, that's what Linux does. OK ;-)
> > Using one or the other internally is fine (we don't care what you do),
> > but we want to see memcpy(). By the way, the documentation I found for
> > ScsiPortMoveMemory() seems to indicate that it's memmove(), not memcpy().
> > Mapping memcpy() to ScsiPortMoveMemory() is fine ... but you can't
> > realiably go the other way.
> [Atul] It's actually memcpy(),http://msdn.microsoft.com/en-us/library/ms805434.aspx
No, it's memmove(). "The (ReadBuffer + Length) can overlap the area
pointed to by WriteBuffer."
--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
next prev parent reply other threads:[~2009-05-15 18:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 1:57 [RFQ] New driver architecture questions Mukker, Atul
2009-05-14 2:44 ` Jeff Garzik
2009-05-14 3:07 ` Mukker, Atul
2009-05-14 4:16 ` Jeff Garzik
2009-05-14 8:51 ` Boaz Harrosh
2009-05-15 0:58 ` adam radford
2009-05-15 1:01 ` Julian Calaby
2009-05-15 3:01 ` Jeff Garzik
2009-05-15 14:56 ` Mukker, Atul
2009-05-15 16:04 ` James Bottomley
2009-05-15 16:36 ` Matthew Wilcox
2009-05-15 18:03 ` Mukker, Atul
2009-05-15 18:16 ` Matthew Wilcox [this message]
2009-05-15 18:38 ` Mukker, Atul
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=20090515181641.GB15360@parisc-linux.org \
--to=matthew@wil.cx \
--cc=Atul.Mukker@lsi.com \
--cc=Winston.Austria@lsi.com \
--cc=aradford@gmail.com \
--cc=jeff@garzik.org \
--cc=julian.calaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.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