android_kernel_xiaomi_sm8450/kernel
Dezhi Huang e05e6574f7 ANDROID: Allow vendor modules perform more operations on memleak detect
Export arch_vma_name, _vm_normal_page, pmd_clear_bad,
__pmd_trans_huge_lock functions. Allow vendor modules perform more
operations on memleak detect and debug. It can detect multiple types
of memleak,such as Native,ION,Slub and Vmalloc. Shows detail size of
memleak, and shows the stack.

Bug: 379962310
Bug: 365506692
Bug: 342305999
Change-Id: I118efa570e660d0696bf081d00b670760d01bec1
Signed-off-by: Dezhi Huang <huangdezhi@hihonor.com>
(cherry picked from commit 21e76b82444db3635eacb360f0d0206a069de4a8)
(cherry picked from commit ce0653fd2cb3b91553870938edd1b854c4975c72)
2024-11-21 15:22:02 +00:00
..
bpf This is the 5.10.224 stable release 2024-09-04 11:06:25 +00:00
cgroup This is the 5.10.226 stable release 2024-09-14 20:53:50 +00:00
configs
debug kdb: Use the passed prompt in kdb_position_cursor() 2024-08-19 05:41:03 +02:00
dma Merge ddee5b4b6a ("mptcp: pm: avoid possible UaF when selecting endp") into android12-5.10-lts 2024-09-13 05:19:26 +00:00
entry UPSTREAM: entry/kvm: Exit to user mode when TIF_NOTIFY_SIGNAL is set 2023-02-07 13:38:14 +00:00
events Merge tag 'android12-5.10.226_r00' into android12-5.10 2024-10-28 18:51:06 +00:00
futex Merge 5.10.201 into android12-5.10-lts 2023-11-29 14:46:51 +00:00
gcov gcov: add support for GCC 14 2024-07-05 09:12:41 +02:00
irq Revert "genirq: Allow the PM device to originate from irq domain" 2024-09-04 11:06:48 +00:00
kcsan kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures 2023-07-27 08:43:57 +02:00
livepatch Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
locking Merge tag 'android12-5.10.226_r00' into android12-5.10 2024-10-28 18:51:06 +00:00
power This is the 5.10.215 stable release 2024-06-01 11:03:55 +00:00
printk This is the 5.10.215 stable release 2024-06-01 11:03:55 +00:00
rcu Merge ddee5b4b6a ("mptcp: pm: avoid possible UaF when selecting endp") into android12-5.10-lts 2024-09-13 05:19:26 +00:00
sched This is the 5.10.224 stable release 2024-09-04 11:06:25 +00:00
time Merge 5.10.225 into android12-5.10-lts 2024-09-11 14:51:02 +00:00
trace Merge ddee5b4b6a ("mptcp: pm: avoid possible UaF when selecting endp") into android12-5.10-lts 2024-09-13 05:19:26 +00:00
.gitignore kbuild: update config_data.gz only when the content of .config is changed 2021-05-11 14:47:37 +02:00
acct.c acct: fix potential integer overflow in encode_comp_t() 2023-01-14 10:16:14 +01:00
async.c async: Introduce async_schedule_dev_nocall() 2024-02-23 08:41:53 +01:00
audit_fsnotify.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
audit_tree.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
audit_watch.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
audit.c audit: Send netlink ACK before setting connection in auditd_set 2024-02-23 08:42:03 +01:00
audit.h audit: log AUDIT_TIME_* records only from rules 2022-04-08 14:40:00 +02:00
auditfilter.c ima: Avoid blocking in RCU read-side critical section 2024-07-18 13:05:44 +02:00
auditsc.c audit: fix possible soft lockup in __audit_inode_child() 2023-09-19 12:20:13 +02:00
backtracetest.c
bounds.c bounds: Use the right number of bits for power-of-two CONFIG_NR_CPUS 2024-05-02 16:23:46 +02:00
capability.c
cfi.c ANDROID: cfi: explicitly clear diag in __cfi_slowpath 2021-09-02 08:55:56 +00:00
compat.c sched_getaffinity: don't assume 'cpumask_size()' is fully initialized 2023-04-05 11:23:45 +02:00
configs.c
context_tracking.c
cpu_pm.c PM: cpu: Make notifier chain use a raw_spinlock_t 2021-09-15 09:50:40 +02:00
cpu.c Merge 5.10.216 into android12-5.10-lts 2024-06-13 16:02:17 +00:00
crash_core.c crash_core, vmcoreinfo: append 'SECTION_SIZE_BITS' to vmcoreinfo 2021-06-23 14:42:52 +02:00
crash_dump.c
cred.c Revert "cred: switch to using atomic_long_t" 2024-01-03 17:05:22 +00:00
delayacct.c
dma.c
exec_domain.c
exit.c This is the 5.10.222 stable release 2024-07-20 13:33:30 +00:00
extable.c
fail_function.c kernel/fail_function: fix memory leak with using debugfs_lookup() 2023-03-11 16:40:18 +01:00
fork.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
freezer.c ANDROID: freezer: Add vendor hook to freezer for GKI purpose. 2021-06-07 16:07:44 +00:00
gen_kheaders.sh Merge 5.10.221 into android12-5.10-lts 2024-07-17 09:08:09 +00:00
groups.c
hung_task.c FROMLIST: freezer: Add frozen_or_skipped() helper function 2021-06-02 15:42:01 +00:00
iomem.c
irq_work.c ANDROID: Sched: Export scheduler symbols needed by vendor modules 2020-12-03 16:50:04 +00:00
jump_label.c jump_label: Fix jump_label_text_reserved() vs __init 2021-07-20 16:05:58 +02:00
kallsyms.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
kcmp.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
Kconfig.freezer
Kconfig.hz
Kconfig.locks
Kconfig.preempt
kcov.c kcov: don't lose track of remote references during softirqs 2024-07-05 09:12:41 +02:00
kexec_core.c kexec: fix a memory leak in crash_shrink_memory() 2023-07-27 08:43:40 +02:00
kexec_elf.c
kexec_file.c kexec: support purgatories with .text.hot sections 2023-06-21 15:45:37 +02:00
kexec_internal.h panic, kexec: make __crash_kexec() NMI safe 2023-04-20 12:10:29 +02:00
kexec.c panic, kexec: make __crash_kexec() NMI safe 2023-04-20 12:10:29 +02:00
kheaders.c kheaders: Use array declaration instead of char 2023-05-17 11:47:33 +02:00
kmod.c
kprobes.c kprobes: Fix to check symbol prefixes correctly 2024-08-19 05:41:17 +02:00
ksysfs.c kexec: turn all kexec_mutex acquisitions into trylocks 2023-04-20 12:10:29 +02:00
kthread.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
latencytop.c
Makefile This is the 5.10.163 stable release 2023-02-06 12:30:05 +00:00
module_signature.c module: harden ELF info handling 2021-03-25 09:04:11 +01:00
module_signing.c module: harden ELF info handling 2021-03-25 09:04:11 +01:00
module-internal.h
module.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
notifier.c
nsproxy.c
padata.c padata: Fix possible divide-by-0 panic in padata_mt_helper() 2024-08-19 05:41:20 +02:00
panic.c panic: Flush kernel log buffer at the end 2024-04-13 12:59:40 +02:00
params.c params: lift param_set_uint_minmax to common code 2024-06-16 13:32:26 +02:00
pid_namespace.c zap_pid_ns_processes: clear TIF_NOTIFY_SIGNAL along with TIF_SIGPENDING 2024-07-05 09:12:33 +02:00
pid.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
profile.c profiling: fix shift too large makes kernel panic 2022-08-21 15:16:05 +02:00
ptrace.c ptrace: Reimplement PTRACE_KILL by always sending SIGKILL 2022-06-09 10:20:49 +02:00
range.c
reboot.c This is the 5.10.202 stable release 2023-12-08 16:26:36 +00:00
regset.c
relay.c UPSTREAM: relayfs: fix out-of-bounds access in relay_file_read 2023-07-04 09:12:16 +00:00
resource.c dax/kmem: Fix leak of memory-hotplug resources 2023-03-11 16:40:04 +01:00
rseq.c rseq: Remove broken uapi field layout on 32-bit little endian 2022-04-08 14:40:03 +02:00
scftorture.c scftorture: Forgive memory-allocation failure if KASAN 2023-09-23 11:01:05 +02:00
scs.c FROMGIT: scs: Release kasan vmalloc poison in scs_free process 2021-10-04 15:44:53 +00:00
seccomp.c Merge 5.10.211 into android12-5.10-lts 2024-04-16 15:38:10 +00:00
signal.c ANDROID: Allow vendor modules perform more operations on memleak detect 2024-11-21 15:22:02 +00:00
smp.c This is the 5.10.226 stable release 2024-09-14 20:53:50 +00:00
smpboot.c sched/core: Initialize the idle task with preemption disabled 2021-07-14 16:55:50 +02:00
smpboot.h
softirq.c ANDROID: softirq: Export irq_handler_exit tracepoint 2020-12-21 17:48:06 +00:00
stackleak.c gcc-plugins/stackleak: Use noinstr in favor of notrace 2022-02-23 12:01:00 +01:00
stacktrace.c ANDROID: stacktrace: export stack_trace_save_tsk/regs 2021-04-13 13:18:04 +00:00
static_call.c static_call: Fix unused variable warn w/o MODULE 2021-09-08 08:49:00 +02:00
stop_machine.c ANDROID: stop_machine: stop_one_cpu_async 2020-12-08 19:07:21 +00:00
sys_ni.c Merge 5.10.221 into android12-5.10-lts 2024-07-17 09:08:09 +00:00
sys.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
sysctl-test.c
sysctl.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
task_work.c This is the 5.10.224 stable release 2024-09-04 11:06:25 +00:00
taskstats.c
test_kprobes.c
torture.c torture: Fix hang during kthread shutdown phase 2023-08-30 16:23:17 +02:00
tracepoint.c This is the 5.10.62 stable release 2021-09-03 10:51:56 +02:00
tsacct.c taskstats: Cleanup the use of task->exit_code 2022-01-27 10:54:33 +01:00
ucount.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
uid16.c
uid16.h
umh.c
up.c smp: Fix smp_call_function_single_async prototype 2021-05-14 09:50:46 +02:00
user_namespace.c Revert "Add a reference to ucounts for each cred" 2021-09-08 08:49:00 +02:00
user-return-notifier.c
user.c Revert "ANDROID: user: Add vendor hook to user for GKI purpose" 2022-01-20 10:04:49 +01:00
usermode_driver.c bpf: Fix umd memory leak in copy_process() 2021-03-30 14:32:03 +02:00
utsname_sysctl.c
utsname.c
watch_queue.c watch_queue: fix IOC_WATCH_QUEUE_SET_SIZE alloc error paths 2023-03-17 08:45:13 +01:00
watchdog_hld.c watchdog/perf: properly initialize the turbo mode timestamp and rearm counter 2024-08-19 05:41:01 +02:00
watchdog.c This is the 5.10.202 stable release 2023-12-08 16:26:36 +00:00
workqueue_internal.h
workqueue.c Merge 5.10.203 into android12-5.10-lts 2023-12-11 16:34:56 +00:00