
29 Jul
2020
29 Jul
'20
7:15 p.m.
On Wed, 2020-07-29 at 15:10 +0200, Martin Kletzander wrote:
On Wed, Jul 29, 2020 at 02:20:50PM +0200, Andrea Bolognani wrote:
Also, since AFAIU resctrl is Linux-only, perhaps a better preprocessor guard would be
#ifdef __linux__
so that we (correctly) stub the functions out on FreeBSD and macOS too.
Well, in case they get any similar feature (since it is actually Intel-only AFAIK) I just wanted to stub it out only for platforms where flock(2) is not available.
Right, I confused Intel-only with Linux-only, sorry. The preprocessor guard is fine as it is then. -- Andrea Bolognani / Red Hat / Virtualization