[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1320398790-21663-1-git-send-email-yong.zhang0@gmail.com>
Date: Fri, 4 Nov 2011 17:26:26 +0800
From: Yong Zhang <yong.zhang0@...il.com>
To: linux-kernel@...r.kernel.org
Cc: sergey.senozhatsky@...il.com, bp@...en8.de
Subject: [PATCH 0/4] patches to cure race in lock_set_class()
This a new version of my previous post[1].
patch#1 is the one which fix the reported bug.
So Sergey, Borislav, would you please give it a test?
patch#2~4 is an enhancement which fix a potential race in
lock_set_class(). But the fact is the only current user
in kernel is lock_set_subclass(), we still have no
user which change its 'key' in flying. So I mark it
with RFC.
More detail in each patch :)
Thanks,
Yong
[1]:http://marc.info/?l=linux-kernel&m=131919035525533
Yong Zhang (4):
lockdep: lock_set_subclass() fix
lockdep: Let register_lock_class() can be called with/without
graph_lock
lockdep: split lockdep_init_map()
lockdep: fix race condition in __lock_set_class()
include/linux/lockdep.h | 2 +-
kernel/lockdep.c | 50 ++++++++++++++++++++++++++++++++--------------
2 files changed, 36 insertions(+), 16 deletions(-)
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists