mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
JFS: make buddy table static
Idea is to reduce false cacheline sharing and stuff Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
This commit is contained in:
parent
ca86991236
commit
4d5dbd0945
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue