[<prev] [next>] [day] [month] [year] [list]
Message-ID: <200911252215376876159@gmail.com>
Date: Wed, 25 Nov 2009 22:15:42 +0800
From: "Liuweni" <qingshenlwy@...il.com>
To: "linux-kernel" <linux-kernel@...r.kernel.org>
Cc: "linux-kernel" <linux-kernel@...r.kernel.org>,
"strongzgy" <strongzgy@...il.com>, "xgr178" <xgr178@....com>,
"Liu Hui" <onlyflyer@...il.com>
Subject: [PATCH 3/3]fs/inode: iunique() Optimize Performance
---
Add the macro L1_CACHE_SHIFT into the arch/h8300/include/asm/cache.h
In this architecture, missing L1_CACHE_SHIFT, The iunique() optimize
performance will not work correctly .
---
Signed-off-by: Liuwenyi<qingshenlwy@...il.com>
Cc: linux-kernel@...r.kernel.org
---
diff --git a/arch/h8300/include/asm/cache.h b/arch/h8300/include/asm/cache.h
index c635028..0a73cd5 100644
--- a/arch/h8300/include/asm/cache.h
+++ b/arch/h8300/include/asm/cache.h
@@ -3,6 +3,7 @@
/* bytes per L1 cache line */
#define L1_CACHE_BYTES 4
+#define L1_CACHE_SHIFT 2
/* m68k-elf-gcc 2.95.2 doesn't like these */
--------------
Best Regards,
Liuweni
2009-11-25
--
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