Re: [PATCH hurd] sutils: Add smp tool for running a process on slave processors

2024-11-26 Thread Sergey Bugaev
Hi, a quick review: On Tue, Nov 26, 2024 at 10:43 AM Damien Zammit via Bug reports for the GNU Hurd wrote: > +static void > +smp(char * const argv[]) Style nitpick: space before the paren. > +{ > + int err; error_t rather > + unsigned int pset_count; mach_msg_type_number_t rather (it's lik

[PATCH hurd] sutils: Add smp tool for running a process on slave processors

2024-11-25 Thread Damien Zammit via Bug reports for the GNU Hurd
Until we make gnumach fully parallel, we need a way to execute on slave processor set on smp-enabled gnumach. For example: $ /sbin/smp /bin/bash $ will launch a shell that executes commands only within slave pset, consisting of all processors except processor 0. We can thus test