[folded-merged] mm-memory-failure-use-raw_spinlock_t-in-struct-memory_failure_cpu-v3.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: mm-memory-failure-use-raw_spinlock_t-in-struct-memory_failure_cpu-v3
has been removed from the -mm tree.  Its filename was
     mm-memory-failure-use-raw_spinlock_t-in-struct-memory_failure_cpu-v3.patch

This patch was dropped because it was folded into mm-memory-failure-use-raw_spinlock_t-in-struct-memory_failure_cpu.patch

------------------------------------------------------
From: Waiman Long <longman@xxxxxxxxxx>
Subject: mm-memory-failure-use-raw_spinlock_t-in-struct-memory_failure_cpu-v3
Date: Wed, 7 Aug 2024 14:11:30 -0400

don't hold percpu ref across pr_err(), per Miaohe

Link: https://lkml.kernel.org/r/20240807181130.1122660-1-longman@xxxxxxxxxx
Fixes: 0f383b6dc96e ("locking/spinlock: Provide RT variant")
Signed-off-by: Waiman Long <longman@xxxxxxxxxx>
Cc: "Huang, Ying" <ying.huang@xxxxxxxxx>
Cc: Juri Lelli <juri.lelli@xxxxxxxxxx>
Cc: Len Brown <len.brown@xxxxxxxxx>
Cc: Miaohe Lin <linmiaohe@xxxxxxxxxx>
Cc: Naoya Horiguchi <nao.horiguchi@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/memory-failure.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/memory-failure.c~mm-memory-failure-use-raw_spinlock_t-in-struct-memory_failure_cpu-v3
+++ a/mm/memory-failure.c
@@ -2455,10 +2455,10 @@ void memory_failure_queue(unsigned long
 	if (!buffer_overflow)
 		schedule_work_on(smp_processor_id(), &mf_cpu->work);
 	raw_spin_unlock_irqrestore(&mf_cpu->lock, proc_flags);
+	put_cpu_var(memory_failure_cpu);
 	if (buffer_overflow)
 		pr_err("buffer overflow when queuing memory failure at %#lx\n",
 		       pfn);
-	put_cpu_var(memory_failure_cpu);
 }
 EXPORT_SYMBOL_GPL(memory_failure_queue);
 
_

Patches currently in -mm which might be from longman@xxxxxxxxxx are

mm-memory-failure-use-raw_spinlock_t-in-struct-memory_failure_cpu.patch
watchdog-handle-the-enodev-failure-case-of-lockup_detector_delay_init-separately.patch





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux