Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137978757
D3197.id7301.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
772 B
Referenced Files
None
Subscribers
None
D3197.id7301.diff
View Options
Index: sys/vm/uma_core.c
===================================================================
--- sys/vm/uma_core.c
+++ sys/vm/uma_core.c
@@ -2135,10 +2135,7 @@
int lockfail;
int cpu;
- /*
- * This is only enabled by kernel option.
- * If not enabled, it is a null macro.
- */
+ /* Enable entropy collection for RANDOM_ENABLE_UMA kernel option */
random_harvest_fast_uma(&zone, sizeof(zone), 1, RANDOM_FAST);
/* This is the fast path allocation */
@@ -2680,10 +2677,7 @@
int lockfail;
int cpu;
- /*
- * This is only enabled by kernel option.
- * If not enabled, it is a null macro.
- */
+ /* Enable entropy collection for RANDOM_ENABLE_UMA kernel option */
random_harvest_fast_uma(&zone, sizeof(zone), 1, RANDOM_FAST);
#ifdef UMA_DEBUG_ALLOC_1
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 28, 8:44 PM (16 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26300421
Default Alt Text
D3197.id7301.diff (772 B)
Attached To
Mode
D3197: Do not compile in the really expensive entropy harvesting unless it is requested.
Attached
Detach File
Event Timeline
Log In to Comment