Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103799704
D20847.id59376.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
816 B
Referenced Files
None
Subscribers
None
D20847.id59376.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D20847: fix style(9) violations involving division by PAGE_SIZE
Attached
Detach File
Event Timeline
Log In to Comment