diff options
| author | Andrew Gallatin <gallatin@FreeBSD.org> | 2023-01-21 19:26:25 +0000 |
|---|---|---|
| committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2023-01-21 19:30:00 +0000 |
| commit | 9cb6ba29cb704c180d5b82f409e280377a641a28 (patch) | |
| tree | 907631ff00553a7b4fe8d0d8e037358ea1feb05b /sys/vm/vm_pagequeue.h | |
| parent | 10f2a38769c7b2fa210a3ea077d3185448479013 (diff) | |
Diffstat (limited to 'sys/vm/vm_pagequeue.h')
| -rw-r--r-- | sys/vm/vm_pagequeue.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/vm/vm_pagequeue.h b/sys/vm/vm_pagequeue.h index 268d53a391db..9624d31a75b7 100644 --- a/sys/vm/vm_pagequeue.h +++ b/sys/vm/vm_pagequeue.h @@ -74,7 +74,9 @@ struct vm_pagequeue { uint64_t pq_pdpages; } __aligned(CACHE_LINE_SIZE); -#ifndef VM_BATCHQUEUE_SIZE +#if __SIZEOF_LONG__ == 8 +#define VM_BATCHQUEUE_SIZE 63 +#else #define VM_BATCHQUEUE_SIZE 15 #endif |
