- lockdep-missing-barrier.patch removed from -mm tree

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

 



The patch titled
     lockdep: missing barrier()
has been removed from the -mm tree.  Its filename was
     lockdep-missing-barrier.patch

This patch was dropped because it needs comments

------------------------------------------------------
Subject: lockdep: missing barrier()
From: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx>

This patch adds a barrier() to lockdep.c lockdep_recursion updates. This
variable behaves like the preemption count and should therefore use similar
memory barriers.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/lockdep.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN kernel/lockdep.c~lockdep-missing-barrier kernel/lockdep.c
--- a/kernel/lockdep.c~lockdep-missing-barrier
+++ a/kernel/lockdep.c
@@ -169,12 +169,14 @@ static struct list_head chainhash_table[
 void lockdep_off(void)
 {
 	current->lockdep_recursion++;
+	barrier();
 }
 
 EXPORT_SYMBOL(lockdep_off);
 
 void lockdep_on(void)
 {
+	barrier();
 	current->lockdep_recursion--;
 }
 
_

Patches currently in -mm which might be from mathieu.desnoyers@xxxxxxxxxx are

relay-add-cpu-hotplug-support.patch
local_t-documentation.patch
local_t-documentation-fix.patch
lockdep-missing-barrier.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

  Powered by Linux