mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-05 08:00:30 +00:00
Make the 'C' and 'c' malloc options consistent with other options; 'C'
doubles the cache size, and 'c' halves the cache size.
This commit is contained in:
parent
5531d7fdc6
commit
ad4e4c676f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154700
|
@ -4365,12 +4365,12 @@ malloc_init_hard(void)
|
|||
opt_abort = true;
|
||||
break;
|
||||
case 'c':
|
||||
opt_ndelay <<= 1;
|
||||
opt_ndelay >>= 1;
|
||||
if (opt_ndelay == 0)
|
||||
opt_ndelay = 1;
|
||||
break;
|
||||
case 'C':
|
||||
opt_ndelay >>= 1;
|
||||
opt_ndelay <<= 1;
|
||||
if (opt_ndelay == 0)
|
||||
opt_ndelay = 1;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue