All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keith M Wesolowski <wesolows@foobazco.org>
To: sparclinux@vger.kernel.org
Subject: Re: nonzero phys_base
Date: Thu, 18 Mar 2004 02:45:17 +0000	[thread overview]
Message-ID: <20040318024517.GA16659@foobazco.org> (raw)
In-Reply-To: <20040316114121.GA5170@spike>

On Tue, Mar 16, 2004 at 09:10:56AM -0800, Pete Zaitcev wrote:

> > +#define __pa(x)			((unsigned long)(x) - PAGE_OFFSET + phys_base)
> > +#define __va(x)			((void *)((unsigned long) (x) - phys_base + PAGE_OFFSET))
> 
> This, obviously, overflows on highmem systems.
> Do we have any users for __pa, __va, virt_to_phys and phys_to_virt?
> It would be helpful if you enumerated all of them and perhaps
> removed some.

Pete, this has always been true for highmem.  How does his patch make
this worse?

-- 
Keith M Wesolowski

  parent reply	other threads:[~2004-03-18  2:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-16 11:41 nonzero phys_base Stefan Holst
2004-03-16 16:55 ` Keith M Wesolowski
2004-03-16 17:10 ` Pete Zaitcev
2004-03-17 23:58 ` Stefan Holst
2004-03-18  0:09 ` Stefan Holst
2004-03-18  2:45 ` Keith M Wesolowski [this message]
2004-03-18  3:36 ` Pete Zaitcev
2004-03-21 22:51 ` Keith M Wesolowski

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=20040318024517.GA16659@foobazco.org \
    --to=wesolows@foobazco.org \
    --cc=sparclinux@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 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.