[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070814223845.518697567@breakpoint.cc>
Date: Wed, 15 Aug 2007 00:38:45 +0200
From: Sebastian Siewior <sebastian@...akpoint.cc>
To: linux-kernel@...r.kernel.org
Cc: Andi Kleen <ak@...e.de>
Subject: [patch 0/2] use asm() for atomic_{read|set}
I converted i386+x86-64. Compiled, booted and played for a while. The
description of both patches contains the file size of four kernel builds:
- "normal" is 28e8351ac22de25034e048c680014ad824323c65 as it
- "inline asm" is with this patch
- "inline volatile" is *(volatile int *)&(v)->counter as a static inline
function
- "volatile" is *(volatile int *)&(v)->counter as a #define macro
I hope I don't encourage anyone to use macros over inline functions.
Sebastian
--
-
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