From: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
To: "Randy.Dunlap" <rddunlap@osdl.org>
Cc: akpm@osdl.org, Ian.Pratt@cl.cam.ac.uk,
linux-kernel@vger.kernel.org, riel@redhat.com, kurt@garloff.de,
Christian.Limpach@cl.cam.ac.uk
Subject: Re: [PATCH] Xen/i386 cleanups - io_remap_pfn_range
Date: Thu, 17 Mar 2005 09:00:40 +0000 [thread overview]
Message-ID: <95cdf61bd30e7b47c7ec360eddbcf542@cl.cam.ac.uk> (raw)
In-Reply-To: <42390A65.7090501@osdl.org>
On 17 Mar 2005, at 04:41, Randy.Dunlap wrote:
> Our io_remap_pfn_range() patches don't contain many collisions.
> My first patch [adding io_remap_pfn_range() to all arches]
> <http://marc.theaimsgroup.com/?l=linux-mm&m=111049473410099&w=2>
> does go a little further than yours in that regard.
>
> Also, I was under the impression (only, so this is a question)
> that this type of construct (from your patch):
>
> +#ifndef io_remap_pfn_range
> +#define io_remap_pfn_range remap_pfn_range
> +#endif
>
> only works for #defines (macros), while in some arches
> io_remap_page_range() (and presumably io_remap_pfn_range)
> is a function [sparc32/64] or inline function [mips].
>
> My first patch referenced a future patch to convert
> all callers of io_remap_page_range() to io_remap_pfn_range(),
> which I have now done and built succesfully on 8 arches.
> I'll post it now.
The way in which you introduce io_remap_pfn_range() into all
architectures is much better than my method, and doesn't depend on
io_remap_pfn_range being a macro.
Apart from that, yes: our driver patches are quite disjoint and
complement each other.
Hopefully a combined patch could eliminate some of the 'ifdef sparc's
that are scattered around. :-)
-- Keir
prev parent reply other threads:[~2005-03-17 8:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-16 11:49 Keir Fraser
2005-03-16 16:48 ` Randy.Dunlap
2005-03-17 4:41 ` Randy.Dunlap
2005-03-17 9:00 ` Keir Fraser [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=95cdf61bd30e7b47c7ec360eddbcf542@cl.cam.ac.uk \
--to=keir.fraser@cl.cam.ac.uk \
--cc=Christian.Limpach@cl.cam.ac.uk \
--cc=Ian.Pratt@cl.cam.ac.uk \
--cc=akpm@osdl.org \
--cc=kurt@garloff.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rddunlap@osdl.org \
--cc=riel@redhat.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
all inboxes | Powered by JetHome®