From: Terence Ripperda <tripperda@nvidia.com>
To: Andi Kleen <ak@muc.de>
Cc: Terence Ripperda <tripperda@nvidia.com>, linux-kernel@vger.kernel.org
Subject: Re: problems with 2.6.12 and ioremap/iounmap
Date: Wed, 18 May 2005 18:34:25 -0500 [thread overview]
Message-ID: <20050518233425.GB8962@hygelac> (raw)
In-Reply-To: <m1zmusyuyq.fsf@muc.de>
On Thu, May 19, 2005 at 01:29:01AM +0200, ak@muc.de wrote:
> > from looking at the implementation in 2.6.12-pre4, I'm not clear how
>
> I suppose you mean rc4, not pre4?
yes, just confused.
> > is the intent that iounmap should call remove_vm_area rather than
> > unmap_vm_area (with additional changes to not unlink the vma itself)?
> > or that the guard page should be removed by unmap_ rather than
> > remove_?
>
> There doesn't seem to be a clear rule, that is where the confusion
> comes from I guess. I would consider it cleaner to handle it in
> the higher level vmalloc code.
that certainly sounds reasonable. I'll try putting together a patch
that does this and send it to our end user to see if it fixes his
problem.
> > when debugging this issue, I also ran into problems with iounmap using
> > virt_to_page on a pci IO region. this problem went away when I tried
> > calling change_page_attr_addr with the virtual address instead. but
>
> A patch for that already went into mainline.
ok, great.
> > perhaps iounmap should be calling ioremap_change_attr rather than
>
> What is ioremap_change_attr?
a static function in ioremap.c that is called by __ioremap. it's a
wrapper function around change_page_attr. I only see it in the x86_64
architecture, not i386.
Thanks,
Terence
next prev parent reply other threads:[~2005-05-18 23:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-18 22:43 Terence Ripperda
2005-05-18 23:29 ` Andi Kleen
2005-05-18 23:34 ` Terence Ripperda [this message]
2005-05-18 23:51 ` Andi Kleen
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=20050518233425.GB8962@hygelac \
--to=tripperda@nvidia.com \
--cc=ak@muc.de \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®