Skip to content
Snippets Groups Projects
Commit 4d5dbd09 authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Dave Kleikamp
Browse files

JFS: make buddy table static


Idea is to reduce false cacheline sharing and stuff

Signed-off-by: default avatarDave Kleikamp <shaggy@austin.ibm.com>
parent ca869912
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment