mm-remove-arguments-of-show_mem.patch removed from -mm tree
The quilt patch titled
Subject: mm: remove arguments of show_mem()
has been removed from the -mm tree. Its filename was
mm-remove-arguments-of-show_mem.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Kefeng Wang <[email protected]>
Subject: mm: remove arguments of show_mem()
Date: Fri, 30 Jun 2023 14:22:52 +0800
All callers of show_mem() pass 0 and NULL, so we can remove the two arguments by directly calling __show_mem(0, NULL, MAX_NR_ZONES - 1) in show_mem().
---
arch/powerpc/xmon/xmon.c | 2 +- drivers/tty/sysrq.c | 2 +- drivers/tty/vt/keyboard.c | 2 +- include/linux/mm.h | 4 ++-- init/initramfs.c | 2 +- kernel/panic.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
arch/powerpc/xmon/xmon.c renamed from arch/powerpc/xmon/xmon.c~mm-remove-arguments-of-show_mem +1 -1
@@ -1084,7 +1084,7 @@ cmds(struct pt_regs *excp)memzcan ();break ;case 'i' : -show_mem (0 ,NULL ); +show_mem ();break ;default : termch = cmd;
drivers/tty/sysrq.c renamed from drivers/tty/sysrq.c~mm-remove-arguments-of-show_mem +1 -1
@@ -342,7 +342,7 @@ static const struct sysrq_key_op sysrq_fstatic void sysrq_handle_showmem (int key) { -show_mem (0 ,NULL ); +show_mem (); }static const struct sysrq_key_op sysrq_showmem_op = { .handler = sysrq_handle_showmem,
drivers/tty/vt/keyboard.c renamed from drivers/tty/vt/keyboard.c~mm-remove-arguments-of-show_mem +1 -1
@@ -606,7 +606,7 @@ static void fn_scroll_back(struct vc_datstatic void fn_show_mem (struct vc_data *vc) { -show_mem (0 ,NULL ); +show_mem (); }static void fn_show_state (struct vc_data *vc)
include/linux/mm.h renamed from include/linux/mm.h~mm-remove-arguments-of-show_mem +2 -2
@@ -3068,9 +3068,9 @@ extern void mem_init(void);extern void __init mmap_init (void );extern void __show_mem (unsigned int flags,nodemask_t *nodemask,int max_zone_idx); -static inline void show_mem (unsigned int flags,nodemask_t *nodemask) +static inline void show_mem (void ) { -__show_mem (flags, nodemask,MAX_NR_ZONES -1 ); +__show_mem (0 ,NULL ,MAX_NR_ZONES -1 ); }extern long si_mem_available (void );extern void si_meminfo (struct sysinfo * val);
init/initramfs.c renamed from init/initramfs.c~mm-remove-arguments-of-show_mem +1 -1
@@ -61,7 +61,7 @@ static void __init error(char *x) }#define panic_show_mem (fmt, ...) \ - ({ show_mem(0, NULL); panic(fmt, ##__VA_ARGS__); }) + ({ show_mem(); panic(fmt, ##__VA_ARGS__); })/* link hash */
kernel/panic.c renamed from kernel/panic.c~mm-remove-arguments-of-show_mem +1 -1
@@ -216,7 +216,7 @@ static void panic_print_sys_info(bool coshow_state ();if (panic_print &PANIC_PRINT_MEM_INFO ) -show_mem (0 ,NULL ); +show_mem ();if (panic_print &PANIC_PRINT_TIMER_INFO )sysrq_timer_list_show ();
_
Patches currently in -mm which might be from [email protected] are
mm-factor-out-vma-stack-and-heap-checks.patch drm-amdkfd-use-vma_is_initial_stack-and-vma_is_initial_heap.patch selinux-use-vma_is_initial_stack-and-vma_is_initial_heap.patch perf-core-use-vma_is_initial_stack-and-vma_is_initial_heap.patch mm-hugetlb-use-flush_hugetlb_tlb_range-in-move_hugetlb_page_tables.patch arm64-hugetlb-enable-__have_arch_flush_hugetlb_tlb_range.patch mm-memtest-convert-to-memtest_report_meminfo.patch