summaryrefslogtreecommitdiff
path: root/regress/usr.bin/sdiff
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2022-04-13 10:08:11 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2022-04-13 10:08:11 +0000
commitf8a40de90ec4a7ef0f983677b41fb1a1562ef84e (patch)
treed6c287a5a7c442e46e1e6598183ae9c1792e4c2a /regress/usr.bin/sdiff
parent5c7fd48ec433a0101d9a65dd12f083fd78d09be4 (diff)
Use a simpler "formula" to decide a default kern.maxthread value;
just 2*NPROCESS rather than NPROCESS+8*MAXUSERS. Results in a slightly higher maxthread value - the previous value was fairly likely to be exceeded on a system running a couple of heavily threaded processes. > previous new > MAXUSERS NPROCESS maxthread (2*NPROCESS) > 80 1310 1950 2620 > 64 1054 1566 2108 > 32 542 798 1084 ok kettenis@
Diffstat (limited to 'regress/usr.bin/sdiff')
0 files changed, 0 insertions, 0 deletions