git: kernel - reformulate the maxusers auto-sizing calculation

看板DFBSD_commit作者時間14年前 (2011/11/10 10:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 50eff0851a615fa611e714b1f8cd19f19ea6816b Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Tue Nov 1 23:44:37 2011 -0700 kernel - reformulate the maxusers auto-sizing calculation * Reformulate the maxusers auto-sizing calculation, which is used as a basis for mbufs and mbuf cluster calculations. Base the values on limsize (basically the lower of KVM vs physical memory). * Remove artificial limits. * This basically effects x86-64 systems with > 4G of ram, greatly increasing the default maxusers value and related mbuf limits. Summary of changes: sys/kern/subr_param.c | 29 +++++++++++++++++++++-------- 1 files changed, 21 insertions(+), 8 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/50eff0851a615fa611e714b1f8cd19f19ea6816b -- DragonFly BSD source repository
文章代碼(AID): #1EkpVOXS (DFBSD_commit)