mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Move the restored #ifdef i386 test back inside the #ifdef _KERNEL block
where it originally was.
This commit is contained in:
parent
e6485f73de
commit
d903c21a64
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=270871
@ -2560,9 +2560,7 @@ arc_reclaim_needed(void)
|
||||
(btop(vmem_size(heap_arena, VMEM_FREE | VMEM_ALLOC)) >> 2))
|
||||
return (1);
|
||||
#endif
|
||||
#endif /* sun */
|
||||
|
||||
#else
|
||||
#else /* sun */
|
||||
#ifdef __i386__
|
||||
/* i386 has KVA limits that the raw page counts above don't consider */
|
||||
if (kmem_used() > (kmem_size() * 3) / 4) {
|
||||
@ -2571,6 +2569,9 @@ arc_reclaim_needed(void)
|
||||
return (1);
|
||||
}
|
||||
#endif
|
||||
#endif /* sun */
|
||||
|
||||
#else
|
||||
if (spa_get_random(100) == 0)
|
||||
return (1);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user