[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <530B462E.9070009@zytor.com>
Date: Mon, 24 Feb 2014 05:16:30 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Daniel Borkmann <borkmann@...earbox.net>
CC: Jan Beulich <JBeulich@...e.com>,
Daniel Borkmann <dborkman@...hat.com>, davem@...emloft.net,
mingo@...e.hu, tglx@...utronix.de, ffusco@...hat.com,
tgraf@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] x86/hash: swap parameters of crc32_u32()
On a totally different note, it would probably be a good idea to use
intrinsics more in the kernel where possible. Intrinsics do allow the
compiler to generate better scheduling.
The trick of course is that we'd want to have machinery that can fall
back to inline assembly if the compiler doesn't support the intrinsics,
and perhaps even to .bytes if needed. This pretty much involves a bunch
of compiler and assembler-probing machinery and then wrapping things in
neat little inline functions.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists