Commit Graph

33 Commits

Author SHA1 Message Date
Bin Lai d60e770a8d config: enable hyperv configurations for x86 platform
Hyperv is a native hypervisor that can create virtual machine on x86-64
platform. Enable all hyperv configurations for linux, then it can run
on windows hyperv.

Signed-off-by: Bin Lai <robinlai@tencent.com>
2022-09-23 15:16:12 +08:00
Bin Lai 691db8a9b0 config: enable CONFIG_ZRAM
ZRAM is a memory compression method that used for anon swap out/in,
it could help system reclaim more free memory when the applications
have consumed too much memory. So we introduce the ZRAM by kernel
modules, user could insmod it as needed.

Signed-off-by: Bin Lai <robinlai@tencent.com>
Reviewed-by: Bauerchen <bauerchen@tencent.com>
2022-08-24 16:58:06 +08:00
bobpeng 19d0e8960e add iptables target WH and DNATLB
target WH: add target ip:port into tcp option, eg:
iptables -t mangle -A OUTPUT -p tcp --dst 10.1.0.0/255.255.255.0 -j WH ;
target DNATLB: support dnat to mutiple destination,each destination with weight specified,
eg: iptables -t nat -A OUTPUT -p tcp --dst 10.1.0.0/255.255.255.0 --dport 4001 -j DNATLB
--to-destination 192.168.0.1:4001:10  --to-destination 192.168.0.2:4001:20
2022-07-14 09:32:50 +08:00
Bin Lai 13f2b1a994 sli: add the CONFIG_CGROUP_SLI configuration for SLI
SLI is used for cgroup performance monitoring, but it is not
necessary for some cases(such as running the linux without
cgroups on the embedded device). Therefor we add this
configuration to decide whether package SLI into kernel or not.

Signed-off-by: Bin Lai <robinlai@tencent.com>
2022-06-21 10:39:08 +08:00
Jianping Liu 433bcdb25b default/config: enable CONFIG_DEBUG_KMEMLEAK to debug kernel memory leak.
When running kmemleak , it will cost much CPU.
So, disable the auto scan of kmemleak, trigger kmemleak scan by manual if needed.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
2022-06-07 11:09:41 +08:00
Jianping Liu b2d1e6a757 default/config: update x86 config by make menuconfig, without manual change
Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
2022-06-07 11:07:23 +08:00
Jianping Liu ca3bfc2781 open CONFIG_JUMP_LABEL to optimize very unlikely/likely branches
This option enables a transparent branch optimization that
makes certain almost-always-true or almost-always-false branch
conditions even cheaper to execute within the kernel.
2022-05-18 20:09:51 +08:00
katrinzhou a76d2f8cda configs: enable CONFIG_BPF_KPROBE_OVERRIDE=y
Signed-off-by: katrinzhou <katrinzhou@tencent.com>
2022-04-01 10:58:59 +08:00
Kairui Song be440c7a91 config: enable VMMOUSE
Signed-off-by: Kairui Song <kasong@tencent.com>
2022-03-24 14:21:47 +08:00
Honglin Li faa1dadcbc config: set CONFIG_ENA_ETHERNET=m for x86
Signed-off-by: Honglin Li <honglinli@tencent.com>
2022-02-24 10:24:01 +08:00
Kairui Song ebc7ecb844 config: set CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_RAM=y will create /dev/ram* by default which is unneeded,
just make it a module, ram block devices can still be created with
modprobe.

Signed-off-by: Kairui Song <kasong@tencent.com>
2021-12-30 14:33:07 +08:00
Mungerjiang e065537049 config: enable CONFIG_NUMA_AWARE_SPINLOCKS default
Signed-off-by: Munger Jiang <mungerjiang@tencent.com>
2021-12-20 11:43:06 +08:00
Hongbo Li e98c4900fc config: open CONFIG_NETFILTER_XT_TARGET_TPROXY
Signed-off-by: Hongbo Li <herberthbli@tencent.com>
2021-12-14 10:26:05 +08:00
Kairui Song 54fe74a6b1 config: enable NF_CT_NETLINK_TIMEOUT and NF_CONNTRACK_TIMEOUT
Enable NF_CT_NETLINK_TIMEOUT as a module, it depends on
NF_CONNTRACK_TIMEOUT so enable that as well.

Signed-off-by: Kairui Song <kasong@tencent.com>
2021-12-10 15:53:24 +08:00
katrinzhou 1265b88089 default/config: set CONFIG_TCM_USER2 as module 2021-11-02 16:19:31 +08:00
caelli b80247552b cgroupfs: support for proc and sys
export files such as cpuinfo, meminfo, stat and so on, which can by used
by containers.

Signed-off-by: caelli <caelli@tencent.com>
Reviewed-by: Peng Hao <flyingpeng@tencent.com>
Reviewed-by: Bin Lai <robinlai@tencent.com>
2021-11-01 15:00:06 +08:00
markwhwu 4bba8351f9 mm: enable transparent hugepage by default
Signed-off-by: Mark whwu <markwhwu@tencent.com>
2021-10-29 08:50:28 +00:00
Kaixu Xia 47f5d67346 config: set timer frequency to 1000 HZ by default 2021-09-22 17:46:37 +08:00
Fuhai Wang a10085f69f config: open intel sgx config
Signed-off-by: Fuhai Wang <fuhaiwang@tencent.com>
2021-07-12 08:56:46 +00:00
Kaixu Xia 7de61cb2e3 config: enable RETOPLINE config for the Spectre issue
Enable RETOPLINE config for the Spectre mitigation.
2021-07-06 11:16:59 +08:00
Kaixu Xia 4a1052051d config: enable CONFIG_SCSI_SMARTPQI and CONFIG_VMXNET3
Open CONFIG_SCSI_SMARTPQI and CONFIG_VMXNET3 as module.
2021-06-02 17:31:05 +08:00
Kaixu Xia ca033c4908 Rebase to linux long term 5.4.119
Update to upstream 5.4.119.
2021-05-20 16:08:02 +08:00
Kaixu Xia bd105940ec config: open CONFIG_GENEVE as module
Open CONFIG_GENEVE as module.
2021-04-27 16:43:36 +08:00
Kaixu Xia 58c1e28d14 Rebase to linux long term 5.4.109
Update to upstream 5.4.109.
2021-04-12 12:53:32 +08:00
Hongbo Li 5eee46c539 mellanox: add x86 driver
Add mellanox x86 driver for 5.4 public kernel.

Signed-off-by: Hongbo Li <herberthbli@tencent.com>
2021-03-18 07:09:21 +00:00
Kaixu Xia e031bb819a package: config: cleanup the unnecessary config files
Cleanup the unnecessary config files.
2021-03-16 16:44:00 +08:00
yongduan 097a748aec squashfs: enable CONFIG_SQUASHFS_ZLIB
Refer to the config of centos 8

Signed-off-by: yongduan <yongduan@tencent.com>
2021-03-16 16:44:00 +08:00
yongduan 835eeffefc enable CONFIG_CACHEFILES
fscache requires the cachefiles module.

Signed-off-by: yongduan <yongduan@tencent.com>
2021-03-16 16:43:59 +08:00
yongduan b9bd144cf3 enable CONFIG_DEBUG_INFO_BTF
Signed-off-by: yongduan <yongduan@tencent.com>
2021-03-16 16:43:58 +08:00
Hongbo Li bd39464999 net: open CONFIG_XFRM_OFFLOAD for x86 public
Signed-off-by: Hongbo Li <herberthbli@tencent.com>
2021-03-16 16:43:58 +08:00
Kaixu Xia e020f6a105 config/x86: update config version 2021-03-16 16:43:58 +08:00
Kaixu Xia 8c52645de7 config: open CONFIG_EFI_CUSTOM_SSDT_OVERLAYS 2021-03-16 16:43:57 +08:00
Kaixu Xia 590eaf1fec Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces.
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
2021-03-16 11:01:34 +08:00