mm-memory-failure-use-bool-for-forcekill-state.patch removed from -mm tree
The quilt patch titled
Subject: mm/memory-failure: use bool for forcekill state
has been removed from the -mm tree. Its filename was
mm-memory-failure-use-bool-for-forcekill-state.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: Ye Liu <[email protected]>
Subject: mm/memory-failure: use bool for forcekill state
Date: Fri, 10 Apr 2026 15:47:39 +0800
'forcekill' is used as a boolean flag to control whether processes should be forcibly killed. It is only assigned from boolean expressions and never used in arithmetic or bitmask operations.
Convert it from int to bool.
No functional change intended.
---
mm/memory-failure.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
mm/memory-failure.c renamed from mm/memory-failure.c~mm-memory-failure-use-bool-for-forcekill-state +3 -3
@@ -459,7 +459,7 @@ void add_to_kill_ksm(struct task_struct* Only do anything when FORCEKILL is set, otherwise just free the * list (this is used for clean pages which do not need killing) */ -static void kill_procs (struct list_head *to_kill,int forcekill, +static void kill_procs (struct list_head *to_kill,bool forcekill,unsigned long pfn,int flags) {struct to_kill *tk, *next;
@@ -1582,7 +1582,7 @@ static bool hwpoison_user_mappings(struc {LIST_HEAD (tokill);bool unmap_success; -int forcekill; +bool forcekill;bool mlocked =folio_test_mlocked (folio);/*
@@ -1703,7 +1703,7 @@ static void unmap_and_kill(struct list_hunmap_mapping_range (mapping, start, size,0 ); } -kill_procs (to_kill, flags &MF_MUST_KILL , pfn, flags); +kill_procs (to_kill, !!(flags &MF_MUST_KILL ), pfn, flags); }/*
_
Patches currently in -mm which might be from [email protected] are
mm-khugepaged-fix-inconsistent-mmf_vm_hugepage-flag-due-to-allocation-failure-order.patch tools-mm-page-types-fix-typo-in-madvise-error-message.patch tools-mm-page-types-fix-ternary-operator-precedence-in-sigbus-handler.patch tools-mm-page-types-fix-kpageflags-option-argument-in-getopt_long.patch mm-memory-failure-remove-hugetlb-output-parameter-from-try_memory_failure_hugetlb.patch