]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r366568:
authorAndrey V. Elsukov <ae@FreeBSD.org>
Fri, 16 Oct 2020 08:56:20 +0000 (08:56 +0000)
committerAndrey V. Elsukov <ae@FreeBSD.org>
Fri, 16 Oct 2020 08:56:20 +0000 (08:56 +0000)
commit7364409570cd9338dabcbcf295a6b215778f9d79
tree0200cc57a484c5c633d530f55622af42ad47975b
parent7ae2becab5c0450596c4846c10a01bd77e7394c8
MFC r366568:
  Fix EINVAL message when CPU binding information is requested for IRQ.

  `cpuset -g -x N` along with requested information always prints
  message `cpuset: getdomain: Invalid argument'. The EINVAL is returned
  from kern_cpuset_getdomain(), since it doesn't expect CPU_LEVEL_WHICH
  and CPU_WHICH_IRQ parameters.

  To fix the error, do not call cpuset_getdomain() when `-x' is specified.
usr.bin/cpuset/cpuset.c