From: Sean Christopherson <seanjc@google.com>
To: Sean Christopherson <seanjc@google.com>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
Sashiko Bot <sashiko-bot@kernel.org>,
Hisam Mehboob <hisamshar@gmail.com>
Subject: Re: [PATCH] KVM: selftests: Use __GLIBC__, not _GNU_SOURCE, to detect actual glibc
Date: Mon, 21 Sep 2026 07:05:04 -0700 [thread overview]
Message-ID: <178999853712.734513.7564161913562650394.b4-ty@google.com> (raw)
In-Reply-To: <20260826161430.714316-1-seanjc@google.com>
On Wed, 26 Aug 2026 09:14:30 -0700, Sean Christopherson wrote:
> Use __GLIBC__ in the hardware disable test to detect when selftests are
> being built/linked against glibc and thus pthread_attr_setaffinity_np() is
> (hopefully) available. As pointed out by Sashiko and Hisam, _GNU_SOURCE is
> effectively a "request" macro to enable functionality, whereas __GLIBC__ is
> an announcement of support and selftests' idiomatic way of guarding code
> that's specific to glibc.
>
> [...]
Applied to kvm-x86 fixes, thanks!
[1/1] KVM: selftests: Use __GLIBC__, not _GNU_SOURCE, to detect actual glibc
https://github.com/kvm-x86/linux/commit/f13368e0acff
--
https://github.com/kvm-x86/linux/tree/next
prev parent reply other threads:[~2026-09-21 14:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-26 16:14 Sean Christopherson
2026-09-21 14:05 ` Sean Christopherson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178999853712.734513.7564161913562650394.b4-ty@google.com \
--to=seanjc@google.com \
--cc=hisamshar@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=sashiko-bot@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®