Messages in this thread | | | Date | Tue, 7 May 2013 14:28:23 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH v3 03/16] lockdep: remove task argument from debug_check_no_locks_held |
| |
On Mon 2013-05-06 16:50:08, Colin Cross wrote: > The only existing caller to debug_check_no_locks_held calls it > with 'current' as the task, and the freezer needs to call > debug_check_no_locks_held but doesn't already have a current > task pointer, so remove the argument. It is already assuming > that the current task is relevant by dumping the current stack > trace as part of the warning. > > This was originally part of 6aa9707099c (lockdep: check that > no locks held at freeze time) which was reverted in > dbf520a9d7d4. > > Original-author: Mandeep Singh Baines <msb@chromium.org> > Signed-off-by: Colin Cross <ccross@android.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |