diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-08-14 04:18:13 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-08-14 04:18:13 +0200 |
commit | faae8eb752fc9df65811ffb1b8cb8f0594cd4b2f (patch) | |
tree | bbda60fdd360e9e4f3c75f8501cc49fb2447187c | |
parent | 6f6df11db70363d600a30960b7c7f00076e22664 (diff) | |
download | plan9front-faae8eb752fc9df65811ffb1b8cb8f0594cd4b2f.tar.xz |
vmx: allocate sticky instead of more expensive fixed segment
-rw-r--r-- | sys/src/cmd/vmx/vmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/vmx/vmx.c b/sys/src/cmd/vmx/vmx.c index faa684521..73c48f367 100644 --- a/sys/src/cmd/vmx/vmx.c +++ b/sys/src/cmd/vmx/vmx.c @@ -347,7 +347,7 @@ mksegment(char *sn) snprint(buf, sizeof(buf), "#g/%s/ctl", sn); fd = open(buf, OWRITE|OTRUNC); if(fd < 0) sysfatal("open: %r"); - snprint(buf, sizeof(buf), "va %#ullx %#ullx fixed", 0x10000000ULL, (uvlong)sz); + snprint(buf, sizeof(buf), "va %#ullx %#ullx sticky", 0x10000000ULL, (uvlong)sz); if(write(fd, buf, strlen(buf)) < 0) sysfatal("write: %r"); close(fd); gmem = segattach(0, sn, nil, sz); |