Page MenuHomeFreeBSD

D3197.id7301.diff
No OneTemporary

D3197.id7301.diff

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

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)

Event Timeline