From: "Liuweni" <qingshenlwy@gmail.com>
To: "linux-kernel" <linux-kernel@vger.kernel.org>
Cc: "linux-kernel" <linux-kernel@vger.kernel.org>,
"strongzgy" <strongzgy@gmail.com>, "xgr178" <xgr178@163.com>,
"Liu Hui" <onlyflyer@gmail.com>
Subject: [PATCH 3/3]fs/inode: iunique() Optimize Performance
Date: Wed, 25 Nov 2009 22:15:42 +0800 [thread overview]
Message-ID: <200911252215376876159@gmail.com> (raw)
---
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@gmail.com>
Cc: linux-kernel@vger.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
reply other threads:[~2009-11-25 14:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200911252215376876159@gmail.com \
--to=qingshenlwy@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=onlyflyer@gmail.com \
--cc=strongzgy@gmail.com \
--cc=xgr178@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox