Merge pull request #93 from goudanli/CodeSlimming

Code slimming
This commit is contained in:
Martin Raiber 2024-02-25 21:58:41 +01:00 committed by GitHub
commit 58593b8006
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 80 additions and 87 deletions

File diff suppressed because one or more lines are too long

View File

@ -111,6 +111,7 @@ int eventfd_write(int fd, int value) {
#include <limits.h>
#include <memory.h>
#include <assert.h>
#include <stdexcept>
const int64 min_cachesize = 1LL * 1024* 1024* 1024LL; // 1GB
const int64 min_free_size = 20LL * 1024* 1024* 1024LL; // 20GB