Page MenuHomeFreeBSD

D20847.id59376.diff
No OneTemporary

D20847.id59376.diff

Index: swap_pager.c
===================================================================
--- swap_pager.c
+++ swap_pager.c
@@ -523,7 +523,7 @@
* but it isn't very efficient).
*
* The nsw_cluster_max is constrained by the bp->b_pages[]
- * array (MAXPHYS/PAGE_SIZE) and our locally defined
+ * array MAXPHYS / PAGE_SIZE and our locally defined
* MAX_PAGEOUT_CLUSTER. Also be aware that swap ops are
* constrained by the swap device interleave stripe size.
*
@@ -538,7 +538,7 @@
* have one NFS swap device due to the command/ack latency over NFS.
* So it all works out pretty well.
*/
- nsw_cluster_max = min((MAXPHYS/PAGE_SIZE), MAX_PAGEOUT_CLUSTER);
+ nsw_cluster_max = min(MAXPHYS / PAGE_SIZE, MAX_PAGEOUT_CLUSTER);
nsw_wcount_async = 4;
nsw_wcount_async_max = nsw_wcount_async;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 30, 3:08 PM (18 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14943981
Default Alt Text
D20847.id59376.diff (816 B)

Event Timeline