diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2025-11-17 16:45:44 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2025-12-08 14:14:58 +0000 |
| commit | e4e7b5840f97d7ee7963f8a4d3fc30ad0ad802af (patch) | |
| tree | f27b5ebd829fa8047835a45a803441d3782ebf48 /lib/libnetmap/libnetmap.h | |
| parent | 80a089d4359ab014ee017860cc23da40f7a4c8fd (diff) | |
rc.subr: Remove misguided cpuset usage
When running an rc command, if the target rc script defines
<command>_cmd, e.g., start_cmd=..., then the run_rc_command() executes
that instead of $command. In general it's a shell function, and
"cpuset -l <n> <shell function>" doesn't work.
Moreover, it doesn't really make sense to run cpuset for anything other
than start_cmd.
Other optional isolation mechanisms (e.g., <name>_fib,
<name>_chroot) are only used when invoking $command directly as part of
the "start" command. Make <name>_cpuset consistent with everything else
by removing these extraneous cpuset invocations.
Reviewed by: 0mp
MFC after: 2 weeks
Sponsored by: Modirum MDPay
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D53746
(cherry picked from commit 71f6592a01506899efd91306b6d8147f14a6b219)
Diffstat (limited to 'lib/libnetmap/libnetmap.h')
0 files changed, 0 insertions, 0 deletions
