[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200709011833.08581.ak@suse.de>
Date: Sat, 1 Sep 2007 18:33:08 +0200
From: Andi Kleen <ak@...e.de>
To: Jeff Garzik <jeff@...zik.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Greg KH <greg@...ah.com>, len.brown@...el.com,
linux-ide@...r.kernel.org, dz@...ian.org, minyard@....org,
j.w.r.degoede@....nl, lm-sensors@...sensors.org, rlove@...ve.org,
bzolnier@...il.com, dmitry.torokhov@...il.com,
mzxreary@...inter.de, stelian@...ies.net, ibm-acpi@....eng.br,
ambx1@....rr.com, gimli@...k-green.com
Subject: Re: [PATCH] drivers/firmware: const-ify DMI API and internals
> And if we're really lucky, this might enable some additional
> optimizations on the part of the compiler.
Only if the kernel was compiled C++. C compilers generally ignore constness
for optimization purposes because it can be so easily casted away.
-Andi
-
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