diff options
Diffstat (limited to 'sys/vm/swap_pager.h')
-rw-r--r-- | sys/vm/swap_pager.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/vm/swap_pager.h b/sys/vm/swap_pager.h index 4a4e0517c48d..7c698e5ba4ee 100644 --- a/sys/vm/swap_pager.h +++ b/sys/vm/swap_pager.h @@ -70,8 +70,12 @@ struct swdevt { * pages per allocation. We recommend you stick with the default of 8. * The 16-page limit is due to the radix code (kern/subr_blist.c). */ +#ifndef MAX_PAGEOUT_CLUSTER +#define MAX_PAGEOUT_CLUSTER 16 +#endif + #if !defined(SWB_NPAGES) -#define SWB_NPAGES 8 +#define SWB_NPAGES MAX_PAGEOUT_CLUSTER #endif /* |