logger: increase hash constants

This commit is contained in:
Thomas Schoebel-Theuer 2019-07-16 14:45:34 +02:00
parent b1c3602f93
commit b533bb7a06
1 changed files with 3 additions and 2 deletions

View File

@ -77,9 +77,10 @@ struct trans_logger_hash_anchor {
struct list_head 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 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_PER_PAGE (PAGE_SIZE / sizeof(struct trans_logger_hash_anchor))
#define HASH_TOTAL (NR_HASH_PAGES * HASH_PER_PAGE) #define HASH_TOTAL (NR_HASH_PAGES * HASH_PER_PAGE)