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

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

 



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.

Michal
_______________________________________________
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