summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>2015-05-30 11:09:29 -0400
committerAlbert Lee <trisk@omniti.com>2015-06-19 03:19:08 -0400
commit3f2b8a52377413f4fdd822ed4aa046ba5eff81d9 (patch)
tree9e3440b0654eaa88ff3086536c9a9a840151abbc
parent0c833d6473a8b5e01ef9b7bc9ac547c0a016f932 (diff)
downloadillumos-joyent-3f2b8a52377413f4fdd822ed4aa046ba5eff81d9.tar.gz
5974 kmem: remove a check that's always false
Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Albert Lee <trisk@omniti.com>
-rw-r--r--usr/src/uts/common/os/kmem.c6
1 files changed, 0 insertions, 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