From: Christoph Hellwig <hch@ns.caldera.de>
To: kaos@ocs.com.au (Keith Owens)
Cc: linux-kernel@vger.kernel.org
Subject: Re: daddr_t is inconsistent and barely used
Date: Thu, 16 Aug 2001 04:57:34 +0200 [thread overview]
Message-ID: <200108160257.f7G2vYA18080@ns.caldera.de> (raw)
In-Reply-To: <9980.997929632@kao2.melbourne.sgi.com>
In article <9980.997929632@kao2.melbourne.sgi.com> you wrote:
> daddr_t is barely used in the kernel. 2.4.8.
>
> The use of daddr_t in freevxfs may give different in core and disk
> layouts on different machines. Is that intended?.
No, it may not. Please double check.
> Do we still need daddr_t?
I think so, in fact we really should use daddr_t for all incore disk
addessing.
> This question was raised when I saw patches for ia64 that replaced u32
> with unsigned long because ia64 needs 64 bit. Shouldn't we be using a
> consistent type that holds kernel addresses as numbers? off_t and
> loff_t are not suitable. caddr_t is close but uses char *, sometimes
> you want just a number. What about defining kaddr_t?
vaddr_t? That's consintant to virt_to_phys, virt_to_bus, etc.. and
what SVR5 uses.
Christoph
--
Whip me. Beat me. Make me maintain AIX.
next prev parent reply other threads:[~2001-08-16 2:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-16 2:40 daddr_t is inconsistent and barely used Keith Owens
2001-08-16 2:57 ` Christoph Hellwig [this message]
2001-08-16 3:14 ` Keith Owens
2001-08-16 3:21 ` Christoph Hellwig
2001-08-16 3:52 ` Albert D. Cahalan
2001-08-16 3:59 ` Christoph Hellwig
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=200108160257.f7G2vYA18080@ns.caldera.de \
--to=hch@ns.caldera.de \
--cc=kaos@ocs.com.au \
--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 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.