diff options
Diffstat (limited to 'module/zfs/arc.c')
-rwxr-xr-x | module/zfs/arc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c index 82b16ff52..eee4973b2 100755 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -5464,18 +5464,8 @@ arc_init(void) /* Convert seconds to clock ticks */ arc_min_prefetch_lifespan = 1 * hz; - /* Start out with 1/8 of all memory */ - arc_c = allmem / 8; - #ifdef _KERNEL /* - * On architectures where the physical memory can be larger - * than the addressable space (intel in 32-bit mode), we may - * need to limit the cache to 1/8 of VM size. - */ - arc_c = MIN(arc_c, vmem_size(heap_arena, VMEM_ALLOC | VMEM_FREE) / 8); - - /* * Register a shrinker to support synchronous (direct) memory * reclaim from the arc. This is done to prevent kswapd from * swapping out pages when it is preferable to shrink the arc. |