Compare commits
24 commits
Author | SHA1 | Date | |
---|---|---|---|
70704265a8 | |||
c7fa25b704 | |||
4cd5e050d1 | |||
75b5ec17b8 | |||
dc08852ddc | |||
2717ba252a | |||
2b304cf99d | |||
1937effa96 | |||
2eff4de992 | |||
d09c21cbf3 | |||
2b1999bbb3 | |||
6bcaa6a3e1 | |||
86d5fd262b | |||
3c431181f0 | |||
c4916e3dc8 | |||
63d594ab50 | |||
7ab68334f7 | |||
35be71333d | |||
bb315dddc0 | |||
72defc07d3 | |||
3c84fee698 | |||
3e35e8e8cd | |||
f0dd7e96b9 | |||
bb134e3f60 |
6 changed files with 342 additions and 123 deletions
20
PKGBUILD
20
PKGBUILD
|
@ -1,6 +1,6 @@
|
||||||
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
pkgbase=linux-custom-ultimate
|
pkgbase=linux-custom-ultimate
|
||||||
pkgver=6.9.9.arch1
|
pkgver=6.12.3.arch1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Linux'
|
pkgdesc='Linux'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
|
@ -35,13 +35,18 @@ source=(
|
||||||
defaultmaxASLR.patch
|
defaultmaxASLR.patch
|
||||||
)
|
)
|
||||||
# https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
# https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||||
sha256sums=('2be05b487eb239a3bf687d628a8f104177d09c310f00bcc2a5e50f1733421eb9'
|
md5sums=('59a4adb192e8a88cc6bdea7912c409c0'
|
||||||
'254c531c49080ffb399a6246537a9c7b65718acdf1515b72f3570d23aa0a4fe6'
|
'25a41237ef1f48123ac5657bdb77eb1f'
|
||||||
|
'7c0ac5bcdae16821cc24be558f18d144')
|
||||||
|
sha1sums=('614c7d549be86d3eec547b069055d44c2ab955e1'
|
||||||
|
'cb11d29ef75d4dc8867902acfe03e20d1aa3787c'
|
||||||
|
'cd8e93c882a6a52e87a4c47caeaabd1261dc3a62')
|
||||||
|
sha256sums=('c89809cc777d50f1ea484a118630281a26383707a0e752c96fd834f6e765deae'
|
||||||
|
'684f2140b501590203c7146baf5977e433cd3acd6401e61a6ad4640a44166b37'
|
||||||
'9f29efd7acf37d8e3015029216865fb590362d9589feb91dc84e68fee6dabff0')
|
'9f29efd7acf37d8e3015029216865fb590362d9589feb91dc84e68fee6dabff0')
|
||||||
b2sums=('a228397902894f566d49adef24e4d44271893173cf0c58e8eb6006137dfb870b5f3aea17cadc775988a0682ba4a5261ebd3f10689b6c096f762cc8af666c56ff'
|
b2sums=('1caaf9aed83a69a0c8b17ca923a97848cbb3b042d023aaaa7462c24f66f0d1b8a4fa42e2f3b9248ab8c57000a0e68d185072b0c88be7bcd93175f3e88ac76955'
|
||||||
'ea46d444dcbec8d6edc761b84ee047b72d9d9d65802902c8fc01f0cef55adf4f16c35834c2c8c01ccb20b249efa8054f20ce851c7eb6cfd2eb2ee90ee8bf6ad5'
|
'222a85e27f9a353a40bd5169bda82d01402228f04a75a277742265f39526effacef6c5dbd7b5729a2c350e822b5c345130f4a34e50942bcd5d12ca00bba53f29'
|
||||||
'30f9ecc8011b67e89166a01cf15c6994ba72cb7277cf8cce3461db66c3f0dfa77f396976dc82b6b78c723845282ea721a07a8fb1f3baff43dbf46bee10940b1a')
|
'30f9ecc8011b67e89166a01cf15c6994ba72cb7277cf8cce3461db66c3f0dfa77f396976dc82b6b78c723845282ea721a07a8fb1f3baff43dbf46bee10940b1a')
|
||||||
|
|
||||||
export KBUILD_BUILD_HOST=archlinux
|
export KBUILD_BUILD_HOST=archlinux
|
||||||
export KBUILD_BUILD_USER=$pkgbase
|
export KBUILD_BUILD_USER=$pkgbase
|
||||||
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
|
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
|
||||||
|
@ -64,8 +69,8 @@ prepare() {
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Setting config..."
|
echo "Setting config..."
|
||||||
make olddefconfig
|
|
||||||
cp ../config .config
|
cp ../config .config
|
||||||
|
make oldconfig
|
||||||
|
|
||||||
diff -u ../config .config || :
|
diff -u ../config .config || :
|
||||||
|
|
||||||
|
@ -75,7 +80,6 @@ prepare() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $_srcname
|
cd $_srcname
|
||||||
make olddefconfig
|
|
||||||
make all
|
make all
|
||||||
make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1
|
make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
My personal custom kernel
|
My personal custom kernel
|
||||||
|
|
||||||
|
I provide releases for and only for Arch Linux. See wiki on how to install.
|
||||||
|
|
||||||
defaultmaxASLR.patch - increase security
|
defaultmaxASLR.patch - increase security
|
||||||
|
|
||||||
|
|
||||||
|
|
22
patches/NUMA.patch
Executable file
22
patches/NUMA.patch
Executable file
|
@ -0,0 +1,22 @@
|
||||||
|
diff --git a/home/lihaowang/Downloads/confign b/home/lihaowang/Downloads/config
|
||||||
|
index 85500aa..adc7bca 100644
|
||||||
|
--- a/home/lihaowang/Downloads/confign
|
||||||
|
+++ b/home/lihaowang/Downloads/config
|
||||||
|
@@ -1258,7 +1258,7 @@ CONFIG_LOCK_MM_AND_FIND_VMA=y
|
||||||
|
CONFIG_IOMMU_MM_DATA=y
|
||||||
|
CONFIG_EXECMEM=y
|
||||||
|
CONFIG_NUMA_MEMBLKS=y
|
||||||
|
-# CONFIG_NUMA_EMU is not set
|
||||||
|
+CONFIG_NUMA_EMU=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# Data Access Monitoring
|
||||||
|
@@ -11536,7 +11536,7 @@ CONFIG_SWIOTLB=y
|
||||||
|
CONFIG_DMA_NEED_SYNC=y
|
||||||
|
CONFIG_DMA_COHERENT_POOL=y
|
||||||
|
CONFIG_DMA_CMA=y
|
||||||
|
-# CONFIG_DMA_NUMA_CMA is not set
|
||||||
|
+CONFIG_DMA_NUMA_CMA=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# Default contiguous memory area size:
|
|
@ -34,7 +34,7 @@
|
||||||
# CONFIG_DEBUG_VM_PGTABLE is not set
|
# CONFIG_DEBUG_VM_PGTABLE is not set
|
||||||
CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
|
CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
|
||||||
-# CONFIG_DEBUG_VIRTUAL is not set
|
-# CONFIG_DEBUG_VIRTUAL is not set
|
||||||
+CONFIG_DEBUG_VIRTUA=y
|
+CONFIG_DEBUG_VIRTUAL=y
|
||||||
CONFIG_DEBUG_MEMORY_INIT=y
|
CONFIG_DEBUG_MEMORY_INIT=y
|
||||||
# CONFIG_DEBUG_PER_CPU_MAPS is not set
|
# CONFIG_DEBUG_PER_CPU_MAPS is not set
|
||||||
CONFIG_ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP=y
|
CONFIG_ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP=y
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# Android
|
# Android
|
||||||
#
|
#
|
||||||
+CONFIG_ANDROID=y
|
+CONFIG_ANDROID=y
|
||||||
+CONFIG_ANDROID_BINDER_IPC=y
|
+CONFIG_ANDROID_BINDER_IPC=m
|
||||||
+CONFIG_ANDROID_BINDERFS=n
|
+CONFIG_ANDROID_BINDERFS=n
|
||||||
+CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
|
+CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
|
||||||
# end of Android
|
# end of Android
|
||||||
|
|
Loading…
Reference in a new issue