]> git.proxmox.com Git - pve-kernel.git/blob - patches/kernel/0006-do-not-generate-split-BTF-type-info-per-default.patch
rebase patches on top of Ubuntu-5.19.0-11.11
[pve-kernel.git] / patches / kernel / 0006-do-not-generate-split-BTF-type-info-per-default.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3 Date: Thu, 14 Sep 2017 11:09:58 +0200
4 Subject: [PATCH] do not generate split BTF type info per default
5
6 This reverts commit a8ed1a0607cfa5478ff6009539f44790c4d0956d.
7
8 It breaks ZFS sometimes:
9 https://github.com/openzfs/zfs/issues/12301#issuecomment-873303739
10
11 Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
12 ---
13 lib/Kconfig.debug | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
17 index 2e24db4bff19..7766a24d0f19 100644
18 --- a/lib/Kconfig.debug
19 +++ b/lib/Kconfig.debug
20 @@ -357,7 +357,7 @@ config PAHOLE_HAS_BTF_TAG
21 these attributes, so make the config depend on CC_IS_CLANG.
22
23 config DEBUG_INFO_BTF_MODULES
24 - def_bool y
25 + def_bool n
26 depends on DEBUG_INFO_BTF && MODULES && PAHOLE_HAS_SPLIT_BTF
27 help
28 Generate compact split BTF type information for kernel modules.