From 3f2b8a52377413f4fdd822ed4aa046ba5eff81d9 Mon Sep 17 00:00:00 2001 From: Josef 'Jeff' Sipek Date: Sat, 30 May 2015 11:09:29 -0400 Subject: [PATCH] 5974 kmem: remove a check that's always false Reviewed by: Marcel Telka Reviewed by: Andy Stormont Approved by: Albert Lee --- usr/src/uts/common/os/kmem.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/usr/src/uts/common/os/kmem.c b/usr/src/uts/common/os/kmem.c index 4e0f13c3b5..cc53c2fb76 100644 --- a/usr/src/uts/common/os/kmem.c +++ b/usr/src/uts/common/os/kmem.c @@ -4335,12 +4335,6 @@ kmem_init(void) kstat_init(); /* - * Small-memory systems (< 24 MB) can't handle kmem_flags overhead. - */ - if (physmem < btop(24 << 20) && !(old_kmem_flags & KMF_STICKY)) - kmem_flags = 0; - - /* * Don't do firewalled allocations if the heap is less than 1TB * (i.e. on a 32-bit kernel) * The resulting VM_NEXTFIT allocations would create too much -- 2.11.4.GIT