JFS: make buddy table static
authorArjan van de Ven <arjan@infradead.org>
Tue, 29 Nov 2005 14:28:58 +0000 (08:28 -0600)
committerDave 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

index 68000a5..adb9f05 100644 (file)
@@ -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,