Buffer size need to be at least a page size. (probably better to keep it a multiple of a page size)
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
|
||||
#define MIN(x, y) ((x) < (y) ? (x) : (y))
|
||||
|
||||
#define BUFFER_SIZE 1024
|
||||
#define BUFFER_SIZE 4096
|
||||
|
||||
static char *mmap_buffer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user