Skip to content

Commit

Permalink
JFS: make buddy table static
Browse files Browse the repository at this point in the history
Idea is to reduce false cacheline sharing and stuff

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
  • Loading branch information
Arjan van de Ven authored and Dave Kleikamp committed Nov 29, 2005
1 parent ca86991 commit 4d5dbd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/jfs/jfs_dmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4d5dbd0

Please sign in to comment.