Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178060353
D13309.1795876166.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
847 B
Referenced Files
None
Subscribers
None
D13309.1795876166.diff
View Options
Index: numactl.1.lm
===================================================================
--- numactl.1.lm
+++ numactl.1.lm
@@ -107,6 +107,15 @@
.El
.Sh EXIT STATUS
.Ex -std
+.Sh ENVIRONMENT
+.Nm
+sets the environment variable
+.Va NUMACTL=YES
+before running
+.Ar cmd ...
+so programs that know they need to be run under
+.Nm
+can check.
.Sh EXAMPLES
Create a
.Pa /bin/sh
Index: numactl.c.lm
===================================================================
--- numactl.c.lm
+++ numactl.c.lm
@@ -231,6 +231,7 @@
(void) set_numa_domain_cpuaffinity(cpu_domain,
CPU_WHICH_PID, -1);
+ putenv("NUMACTL=YES");
errno = 0;
execvp(*argv, argv);
err(errno == ENOENT ? 127 : 126, "%s", *argv);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 28, 2:29 PM (4 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42060045
Default Alt Text
D13309.1795876166.diff (847 B)
Attached To
Mode
D13309: have numactl tell subprocesses that they are locked to a domain
Attached
Detach File
Event Timeline