Re: [PATCH] meson: Skip detection of sched_* functionality on Hurd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 26, 2024 at 11:25:12AM +0100, Michal Prívozník wrote:
> On 2/23/24 16:52, Andrea Bolognani wrote:
> > We use the presence of sched_setscheduler() and cpu_set_t as
> > witnesses for whether we can set process affinity and the
> > like.
> >
> > This entire class of functionality is missing on Hurd, but
> > unfortunately it still gets advertised, so the end result is
> > that a number of warnings are produced during build:
> >
> >   sched_get_priority_max is not implemented and will always fail
> >   sched_get_priority_min is not implemented and will always fail
> >   sched_getaffinity is not implemented and will always fail
> >   sched_setaffinity is not implemented and will always fail
>
> This feels like a Hurd bug, sorry. Unless there is bug report against
> Hurd (IOW, there's a chance this is fixed), I don't we should work
> around it. Otherwise we'd be turning libvirt into a dumpster of workarounds.

I've figured out a more sane approach, which also comes with free bug
fixes as a bonus :)

https://lists.libvirt.org/archives/list/devel@xxxxxxxxxxxxxxxxx/thread/MZZWENGR56QBABKQL2DTDSBRVM5XMI4W/

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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux