[PATCH 0/2] meson: Fix/improve detection of scheduler-related functionality

Andrea Bolognani posted 2 patches 1 month, 4 weeks ago
Failed in applying to current master (apply log)
meson.build           |  4 ++--
src/ch/ch_process.c   |  1 +
src/util/virprocess.c | 12 ++++++------
3 files changed, 9 insertions(+), 8 deletions(-)
[PATCH 0/2] meson: Fix/improve detection of scheduler-related functionality
Posted by Andrea Bolognani 1 month, 4 weeks ago
This applies on top of [1]. Test pipeline: [2]

Upon further investigation, I have determined that not only
we are unintentionally using the Linux APIs on FreeBSD instead
of the native ones, but we are also accidentally skipping some
setup steps on Linux.

[1] https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/CX26NU7ZHD4TFDPQM3HQ4YW5ATP4LYDV/
[2] https://gitlab.com/abologna/libvirt/-/pipelines/1192942974

Andrea Bolognani (2):
  meson: Restore check for sched_getaffinity()
  meson: Check for sched_get_priority_min()

 meson.build           |  4 ++--
 src/ch/ch_process.c   |  1 +
 src/util/virprocess.c | 12 ++++++------
 3 files changed, 9 insertions(+), 8 deletions(-)

-- 
2.43.2
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH 0/2] meson: Fix/improve detection of scheduler-related functionality
Posted by Michal Prívozník 1 month, 1 week ago
On 2/27/24 19:30, Andrea Bolognani wrote:
> This applies on top of [1]. Test pipeline: [2]
> 
> Upon further investigation, I have determined that not only
> we are unintentionally using the Linux APIs on FreeBSD instead
> of the native ones, but we are also accidentally skipping some
> setup steps on Linux.
> 
> [1] https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/CX26NU7ZHD4TFDPQM3HQ4YW5ATP4LYDV/
> [2] https://gitlab.com/abologna/libvirt/-/pipelines/1192942974
> 
> Andrea Bolognani (2):
>   meson: Restore check for sched_getaffinity()
>   meson: Check for sched_get_priority_min()
> 
>  meson.build           |  4 ++--
>  src/ch/ch_process.c   |  1 +
>  src/util/virprocess.c | 12 ++++++------
>  3 files changed, 9 insertions(+), 8 deletions(-)
> 

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

but let me just say that I had to dig [1] out of the archives only to
apply these cleanly (even though they were reviewed long time ago and
agreed to be pushed "soon") did not help.

Michal
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH 0/2] meson: Fix/improve detection of scheduler-related functionality
Posted by Andrea Bolognani 1 month, 1 week ago
On Tue, Mar 19, 2024 at 05:45:10PM +0100, Michal Prívozník wrote:
> On 2/27/24 19:30, Andrea Bolognani wrote:
> > This applies on top of [1]. Test pipeline: [2]
> >
> > Upon further investigation, I have determined that not only
> > we are unintentionally using the Linux APIs on FreeBSD instead
> > of the native ones, but we are also accidentally skipping some
> > setup steps on Linux.
> >
> > [1] https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/CX26NU7ZHD4TFDPQM3HQ4YW5ATP4LYDV/
> > [2] https://gitlab.com/abologna/libvirt/-/pipelines/1192942974
> >
> > Andrea Bolognani (2):
> >   meson: Restore check for sched_getaffinity()
> >   meson: Check for sched_get_priority_min()
> >
> >  meson.build           |  4 ++--
> >  src/ch/ch_process.c   |  1 +
> >  src/util/virprocess.c | 12 ++++++------
> >  3 files changed, 9 insertions(+), 8 deletions(-)
>
> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
>
> but let me just say that I had to dig [1] out of the archives only to
> apply these cleanly (even though they were reviewed long time ago and
> agreed to be pushed "soon") did not help.

Yeah, sorry for the annoyance. And thanks a lot for the review! I've
pushed everything now.

-- 
Andrea Bolognani / Red Hat / Virtualization
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH 0/2] meson: Fix/improve detection of scheduler-related functionality
Posted by Michal Prívozník 1 month, 4 weeks ago
On 2/27/24 19:30, Andrea Bolognani wrote:
> This applies on top of [1]. Test pipeline: [2]
> 
> Upon further investigation, I have determined that not only
> we are unintentionally using the Linux APIs on FreeBSD instead
> of the native ones, but we are also accidentally skipping some
> setup steps on Linux.
> 
> [1] https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/CX26NU7ZHD4TFDPQM3HQ4YW5ATP4LYDV/

Any reason for not merging these ^^^ yet? It would be nice to merge them
before the release and have one broken release less.

Michal
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH 0/2] meson: Fix/improve detection of scheduler-related functionality
Posted by Andrea Bolognani 1 month, 4 weeks ago
On Wed, Feb 28, 2024 at 12:37:54PM +0100, Michal Prívozník wrote:
> On 2/27/24 19:30, Andrea Bolognani wrote:
> > This applies on top of [1]. Test pipeline: [2]
> >
> > Upon further investigation, I have determined that not only
> > we are unintentionally using the Linux APIs on FreeBSD instead
> > of the native ones, but we are also accidentally skipping some
> > setup steps on Linux.
> >
> > [1] https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/CX26NU7ZHD4TFDPQM3HQ4YW5ATP4LYDV/
>
> Any reason for not merging these ^^^ yet? It would be nice to merge them
> before the release and have one broken release less.

I'm giving Roman a chance to provide feedback, since I'm changing
code that he introduced specifically for FreeBSD.

-- 
Andrea Bolognani / Red Hat / Virtualization
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH 0/2] meson: Fix/improve detection of scheduler-related functionality
Posted by Michal Prívozník 1 month, 2 weeks ago
On 2/28/24 13:40, Andrea Bolognani wrote:
> On Wed, Feb 28, 2024 at 12:37:54PM +0100, Michal Prívozník wrote:
>> On 2/27/24 19:30, Andrea Bolognani wrote:
>>> This applies on top of [1]. Test pipeline: [2]
>>>
>>> Upon further investigation, I have determined that not only
>>> we are unintentionally using the Linux APIs on FreeBSD instead
>>> of the native ones, but we are also accidentally skipping some
>>> setup steps on Linux.
>>>
>>> [1] https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/CX26NU7ZHD4TFDPQM3HQ4YW5ATP4LYDV/
>>
>> Any reason for not merging these ^^^ yet? It would be nice to merge them
>> before the release and have one broken release less.
> 
> I'm giving Roman a chance to provide feedback, since I'm changing
> code that he introduced specifically for FreeBSD.
> 

I think there was enough room given for feedback. Unfortunately, it
missed the release, but there's no reason for it to miss another one.

Michal
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH 0/2] meson: Fix/improve detection of scheduler-related functionality
Posted by Andrea Bolognani 1 month, 2 weeks ago
On Fri, Mar 08, 2024 at 10:47:12AM +0100, Michal Prívozník wrote:
> On 2/28/24 13:40, Andrea Bolognani wrote:
> > On Wed, Feb 28, 2024 at 12:37:54PM +0100, Michal Prívozník wrote:
> >> On 2/27/24 19:30, Andrea Bolognani wrote:
> >>> This applies on top of [1]. Test pipeline: [2]
> >>>
> >>> Upon further investigation, I have determined that not only
> >>> we are unintentionally using the Linux APIs on FreeBSD instead
> >>> of the native ones, but we are also accidentally skipping some
> >>> setup steps on Linux.
> >>>
> >>> [1] https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/CX26NU7ZHD4TFDPQM3HQ4YW5ATP4LYDV/
> >>
> >> Any reason for not merging these ^^^ yet? It would be nice to merge them
> >> before the release and have one broken release less.
> >
> > I'm giving Roman a chance to provide feedback, since I'm changing
> > code that he introduced specifically for FreeBSD.
>
> I think there was enough room given for feedback. Unfortunately, it
> missed the release, but there's no reason for it to miss another one.

Agreed. I'm off next week, but I'll push the patches once I come back
unless I hear otherwise. That will still give us plenty of time to
revert them before release, should that turn out to be necessary.

I could also push the patches in this series at the same time, if
someone ACKed them... *hint hint* ;)

-- 
Andrea Bolognani / Red Hat / Virtualization
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org