X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fblacklist%2Ftimekeeping.h;fp=include%2Fblacklist%2Ftimekeeping.h;h=96e55d1e7bcff3a89721f2ea49f7368b8e060bb9;hb=053e573fb9404dd90fc974a6c08baf71eea3bf14;hp=0000000000000000000000000000000000000000;hpb=117ab60f69a98dcbc365de8008ab93e6699d153a;p=lttng-modules.git diff --git a/include/blacklist/timekeeping.h b/include/blacklist/timekeeping.h new file mode 100644 index 00000000..96e55d1e --- /dev/null +++ b/include/blacklist/timekeeping.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only) + * + * blacklist/timekeeping.h + * + * Blacklist of kernel for buggy timekeeping implementation. + * + * Copyright (C) 2019 Jonathan Rajotte-Julien + */ + +#ifndef _LTTNG_BLACKLIST_TIMEKEEPING_H +#define _LTTNG_BLACKLIST_TIMEKEEPING_H + +#include + +#if ((LTTNG_KERNEL_RANGE(3,10,0, 3,10,14) && !LTTNG_RHEL_KERNEL_RANGE(3,10,0,123,0,0, 3,10,14,0,0,0)) \ + || LTTNG_KERNEL_RANGE(3,11,0, 3,11,3)) +# error "Linux kernels 3.10 and 3.11 introduce a deadlock in the timekeeping subsystem. Fixed by commit 7bd36014460f793c19e7d6c94dab67b0afcfcb7f \"timekeeping: Fix HRTICK related deadlock from ntp lock changes\" in Linux." +#endif + +#endif /* _LTTNG_BLACKLIST_TIMEKEEPING_H */