From: Christoph Hellwig <hch@infradead.org>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Christoph Hellwig <hch@infradead.org>,
"David S. Miller" <davem@davemloft.net>,
James Morris <jmorris@redhat.com>,
Linux Crypto Mailing List <linux-crypto@vger.kernel.org>,
netdev@oss.sgi.com
Subject: Re: [RFC] Replace scatterlist with crypto_frag
Date: Mon, 6 Jun 2005 14:30:22 +0100 [thread overview]
Message-ID: <20050606133022.GA10566@infradead.org> (raw)
In-Reply-To: <20050606124043.GA625@gondor.apana.org.au>
On Mon, Jun 06, 2005 at 10:40:43PM +1000, Herbert Xu wrote:
> On Mon, Jun 06, 2005 at 01:09:14PM +0100, Christoph Hellwig wrote:
> >
> > > #if (PAGE_SHIFT > 16) || (BITS_PER_LONG > 32)
> >
> > what is the BITS_PER_LONG check for?
>
> These structures are normally used in arrays. On a 64-bit machine
> the alignment requirement means that the 16-bit version will be
> padded to have the same length as the 32-bit version. Since 32-bit
> access is usually faster we might as well get it for free.
At this point it might be easiest to just say the architecture must
declare the type in asm/types.h
next prev parent reply other threads:[~2005-06-06 13:30 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-03 23:46 [RFC] Replace scatterlist with crypto_frag Herbert Xu
2005-06-04 0:02 ` Jeff Garzik
2005-06-04 0:42 ` Herbert Xu
2005-06-04 4:39 ` James Morris
2005-06-04 4:51 ` Herbert Xu
2005-06-04 5:23 ` James Morris
2005-06-04 5:33 ` Herbert Xu
2005-06-04 10:00 ` Evgeniy Polyakov
2005-06-04 9:55 ` Evgeniy Polyakov
2005-06-04 9:58 ` Herbert Xu
2005-06-04 10:17 ` Evgeniy Polyakov
2005-06-04 10:22 ` Herbert Xu
2005-06-04 10:29 ` Evgeniy Polyakov
2005-06-04 10:32 ` Herbert Xu
2005-06-04 10:40 ` Evgeniy Polyakov
2005-06-06 22:36 ` David S. Miller
2005-06-04 11:23 ` Christoph Hellwig
2005-06-04 11:26 ` Herbert Xu
2005-06-04 11:58 ` Christoph Hellwig
2005-06-06 11:59 ` Herbert Xu
2005-06-06 12:09 ` Christoph Hellwig
2005-06-06 12:40 ` Herbert Xu
2005-06-06 13:30 ` Christoph Hellwig [this message]
2005-06-06 22:46 ` David S. Miller
2005-06-06 23:04 ` Herbert Xu
2005-06-06 23:09 ` David S. Miller
2005-06-06 23:14 ` Herbert Xu
2005-06-06 23:18 ` David S. Miller
2005-06-06 23:20 ` Herbert Xu
2005-06-06 23:05 ` Jeff Garzik
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=20050606133022.GA10566@infradead.org \
--to=hch@infradead.org \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=jmorris@redhat.com \
--cc=linux-crypto@vger.kernel.org \
--cc=netdev@oss.sgi.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;
as well as URLs for NNTP newsgroup(s).