public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Khem Raj <raj.khem@gmail.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] sched_attr: Do not define for glibc >= 2.41
Date: Thu, 31 Oct 2024 07:45:48 +0100	[thread overview]
Message-ID: <20241031064548.GA970568@pevik> (raw)
In-Reply-To: <20241030214534.539684-1-raj.khem@gmail.com>

Hi Khem,

> +/* sched_attr is not defined in glibc < 2.41 */
> +#ifndef SCHED_ATTR_SIZE_VER0

Thank you for the fix.

This is faster than traditional AC_CHECK_MEMBERS(struct sched_attr) check,
that's why I merged it. I suppose once musl adds the struct it also adds
SCHED_ATTR_SIZE_VER0. If not we will need to use AC_CHECK_MEMBERS check.

Bionic uses kernel headers anyway, thus it will work.

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

      reply	other threads:[~2024-10-31  6:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-30 21:45 [LTP] [PATCH] sched_attr: Do not define for glibc >= 2.41 Khem Raj
2024-10-31  6:45 ` Petr Vorel [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=20241031064548.GA970568@pevik \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=raj.khem@gmail.com \
    /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