projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca86991
)
JFS: make buddy table static
author
Arjan van de Ven
<arjan@infradead.org>
Tue, 29 Nov 2005 14:28:58 +0000
(08:28 -0600)
committer
Dave Kleikamp
<shaggy@austin.ibm.com>
Tue, 29 Nov 2005 14:28:58 +0000
(08:28 -0600)
Idea is to reduce false cacheline sharing and stuff
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/jfs_dmap.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/jfs/jfs_dmap.c
b/fs/jfs/jfs_dmap.c
index 68000a50ceb60610e796e184ba6384af47e1cb7e..adb9f05093b2f2aee803c3f4116f34d4afca8cf1 100644
(file)
--- a/
fs/jfs/jfs_dmap.c
+++ b/
fs/jfs/jfs_dmap.c
@@
-125,7
+125,7
@@
static int dbGetL2AGSize(s64 nblocks);
* into the table, with the table elements yielding the maximum
* binary buddy of free bits within the character.
*/
-static s8 budtab[256] = {
+static
const
s8 budtab[256] = {
3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,