- Subject: Re: [PATCH 14/14] crc32: Select an algorithm via kconfig
- From: "Darrick J. Wong" <djwong@xxxxxxxxxx>
- Date: Fri, 2 Dec 2011 18:36:46 -0800
- Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Theodore Tso <tytso@xxxxxxx>, Joakim Tjernlund <joakim.tjernlund@xxxxxxxxxxxx>, Bob Pearson <rpearson@xxxxxxxxxxxxxxxxxxxxx>, linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>, Andreas Dilger <adilger.kernel@xxxxxxxxx>, linux-crypto <linux-crypto@xxxxxxxxxxxxxxx>, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, Mingming Cao <cmm@xxxxxxxxxx>, linux-ext4@xxxxxxxxxxxxxxx
- In-reply-to: <20111202002505.GB19842@gondor.apana.org.au>
- Reply-to: djwong@xxxxxxxxxx
- User-agent: Mutt/1.5.17+20080114 (2008-01-14)
On Fri, Dec 02, 2011 at 08:25:05AM +0800, Herbert Xu wrote:
> On Thu, Dec 01, 2011 at 12:15:17PM -0800, Darrick J. Wong wrote:
> > Allow the kernel builder to choose a crc32* algorithm for the kernel.
> >
> > Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>
>
> I don't like this at all. How do you expect distros or indeed
> anyone to make this choice? For generic C implementations like
> this we should only have one, and not many.
Slice-by-8 should be picked automatically if the builder doesn't explicitly
pick another one. The other choices are provided for people who want a slimmer
cache footprint. I guess I could make the Kconfig file a bit more explicit
about slice-by-8 being default, or I guess we could just ignore this one patch
and thereby keeping us with the old method where anyone who wants the slimmer
implementations patches the #defines.
--D
>
> Cheers,
> --
> Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
> --
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Kernel]
[Gnu Classpath]
[Gnu Crypto]
[DM Crypt]
[Netfilter]
[Bugtraq]