Skip to content

Commit

Permalink
fdctl: fix broken core pinning
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcgee-jump committed Dec 11, 2023
1 parent 5a0a130 commit a9e80bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/fdctl/run/run.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ execve_tile( fd_topo_tile_t * tile,
if( FD_LIKELY( cpu_idx<65535UL ) ) {
/* set the thread affinity before we clone the new process to ensure
kernel first touch happens on the desired thread. */
cpu_set_t cpu_set[1];
CPU_ZERO( cpu_set );
CPU_SET( cpu_idx, cpu_set );
if( FD_UNLIKELY( -1==setpriority( PRIO_PROCESS, 0, -19 ) ) ) FD_LOG_ERR(( "setpriority() failed (%i-%s)", errno, fd_io_strerror( errno ) ));
Expand Down

0 comments on commit a9e80bf

Please sign in to comment.