From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA1383858D37; Mon, 9 Jan 2023 18:24:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA1383858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673288679; bh=c52CbI/Kx4c5u4JivhG/h7n4X+ox9zDxL2T4KK9kN50=; h=From:To:Subject:Date:In-Reply-To:References:From; b=EPvK8wl4OERAAP623Gkw/bWhJ1FpG7thJZm2rpCT1K4Z4MdWQh/9/3IPJLH31bAtG pUaha4KQ5gm1zWTUqb7oYQEzBOzM8Y8pjW+eUETDkII+7UZPece7BH/3xigdTEqQLN M56NDRcdj6xIb0Y6ihUXtcp3Bed7KURleHmEx3jw= From: "ross at burtonini dot com" To: elfutils-devel@sourceware.org Subject: [Bug debuginfod/29975] Search concurrency doesn't respect CPU affinity Date: Mon, 09 Jan 2023 18:24:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: debuginfod X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ross at burtonini dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29975 --- Comment #2 from Ross Burton --- No, but the C isn't that difficult: #define _GNU_SOURCE #include int ret, count; cpu_set_t mask; CPU_ZERO(&mask); ret =3D sched_getaffinity(0, sizeof(mask), &mask); // if non-zero, errno is set count =3D CPU_COUNT(&mask); --=20 You are receiving this mail because: You are on the CC list for the bug.=