mirror of https://github.com/schoebel/mars
logger: increase hash constants
This commit is contained in:
parent
b1c3602f93
commit
b533bb7a06
|
@ -77,9 +77,10 @@ struct trans_logger_hash_anchor {
|
|||
struct list_head hash_anchor;
|
||||
};
|
||||
|
||||
#define NR_HASH_PAGES 64
|
||||
|
||||
#define MAX_HASH_PAGES (PAGE_SIZE / sizeof(struct trans_logger_hash_anchor*))
|
||||
|
||||
#define NR_HASH_PAGES MAX_HASH_PAGES
|
||||
|
||||
#define HASH_PER_PAGE (PAGE_SIZE / sizeof(struct trans_logger_hash_anchor))
|
||||
#define HASH_TOTAL (NR_HASH_PAGES * HASH_PER_PAGE)
|
||||
|
||||
|
|
Loading…
Reference in New Issue