mcexec: Add --stack-premap=<premap_size>[,<max>] to man page

This commit is contained in:
Masamichi Takagi
2017-09-26 18:35:34 +09:00
parent be4d84c0c1
commit 37e3118df6

View File

@ -43,14 +43,30 @@ threads equals to the number of CPU cores assigned to McKernel.
.TP .TP
.B -h N, --extend-heap-by=N .B -h N, --extend-heap-by=N
Specify the size of heap extension by the brk() system call. Specify the size of heap extension by the brk() system call.
The default size is 4K Byte. You may specify the value in the The default size is 4K Byte. \fIN\fR accepts the following format:
following format: .br
<digit>{k|K|m|M|g|G} .RS 10
e.g.: <digits>{k|K|m|M|g|G}
10k for 10Kibyte, 100M for 100Mibyte, 1G for 1Gibyte .br
e.g.: 10k means 10Kibyte, 100M 100Mibyte, 1G 1Gibyte
.RE
.RS 7
In certain applications, such as miniFE, specifying "-h 12M" improves In certain applications, such as miniFE, specifying "-h 12M" improves
performance. performance.
.RE
.TP
.B -s P,[M], --stack-premap=P,[M]
Pre-map \fIP\fR bytes of stack when creating a process. 2Mibyte is
used when not specified. And set the max size of stack to \fIM\fR
bytes. Both of them accept the following format:
.br
.RS 10
<digits>{k|K|m|M|g|G}
.br
e.g.: 10k means 10Kibyte, 100M 100Mibyte, 1G 1Gibyte
.RE
.TP .TP
.B --profile .B --profile