Skip to contentSkip to conversation

fs/inode: iunique() Optimize Performance

PATCH In review Liuweni 1 participant 1 message Nov 25, 2009

lore
Share & tools
lore

Liuweni

author
#0 lore raw

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 .
---

---

arch/h8300/include/asm/cache.h +1 -0
index c635028..0a73cd5 100644
@@ -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