]> git.ipfire.org Git - thirdparty/squid.git/commit
Do not zero the destination set in CpuAnd() replacement for CPU_AND()
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 20 Oct 2010 04:16:57 +0000 (22:16 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 20 Oct 2010 04:16:57 +0000 (22:16 -0600)
commit7aba0fdb9e1a77935a4e5ca0cfaedebd285222e7
tree7618fbbe356ea1af7412e763079995b08e53946c
parent7176768be1442c6eb1bcb74399c72564cc90972b
Do not zero the destination set in CpuAnd() replacement for CPU_AND()
because the destination set may be one of the source sets. This fixes

   ERROR: invalid CPU affinity for process PID 17935, may be caused by
   an invalid core in 'cpu_affinity_map' or by external affinity
   restrictions

errors on systems with partial CPU affinity support lacking their own CPU_AND.

based on 3p2-plus r10834.
compat/cpu.h