Lines Matching refs:maxusers
270 int maxusers; /* kitchen-sink knob for dynamic configuration */
586 if (maxusers == 0) {
589 maxusers = MIN(MAX(MIN(physmegs, virtmegs),
592 if (maxusers > MAX_MAXUSERS) {
593 maxusers = MAX_MAXUSERS;
594 cmn_err(CE_NOTE, "maxusers limited to %d", MAX_MAXUSERS);
599 * The purpose of maxusers is to prevent memory overcommit.
600 * DEBUG kernels take more space, so reduce maxusers a bit.
602 maxusers = (3 * maxusers) / 4;
607 * the setting of maxusers and pidmax propagate to the other
623 max_nprocs = (10 + 16 * maxusers);