Region tags are 1 offest (not zero), remove allocation manager id collision)
This commit is contained in:
parent
516410ef47
commit
752606ad3b
1 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,7 @@ terms specified in this license.
|
||||||
|
|
||||||
/* Storage managers */
|
/* Storage managers */
|
||||||
#define STORAGE_MANAGER_TALLOC 1
|
#define STORAGE_MANAGER_TALLOC 1
|
||||||
#define STORAGE_MANAGER_NAIVE_PAGE_ALLOC 1
|
#define STORAGE_MANAGER_NAIVE_PAGE_ALLOC 2
|
||||||
|
|
||||||
/* number above should be less than number below */
|
/* number above should be less than number below */
|
||||||
#define MAX_OPERATIONS 80
|
#define MAX_OPERATIONS 80
|
||||||
|
@ -239,7 +239,7 @@ extern const short SLOT_TYPE_LENGTHS[];
|
||||||
#define USER_DEFINED_PAGE(n) (100+n) // 0 <= n < 155
|
#define USER_DEFINED_PAGE(n) (100+n) // 0 <= n < 155
|
||||||
#define MAX_PAGE_TYPE 255
|
#define MAX_PAGE_TYPE 255
|
||||||
|
|
||||||
#define REGION_FIRST_TAG 0
|
#define REGION_FIRST_TAG 1
|
||||||
#define TALLOC_REGION_SIZE 100 // Pages
|
#define TALLOC_REGION_SIZE 100 // Pages
|
||||||
|
|
||||||
#define FILE_PERM (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
|
#define FILE_PERM (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
|
||||||
|
|
Loading…
Reference in a new issue