lkml.org 
[lkml]   [2009]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: lockdep and debug objects together are broken?

* Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

> On Wed, 2009-01-21 at 12:42 +0100, Ingo Molnar wrote:
>
> > So by the time you'd rearm, there's a lot of tasks with no proper
> > locking state built up. We might be able to re-arm via
> > stop_machine_run perhaps.
>
> Won't work either, kstopmachine only preempts everybody. We'd require
> something stronger.

indeed - mutexes wont be covered.

> What we need is a point where there's guaranteed no locks held, for
> regular tasks that would be a trip to userspace and back, but for kernel
> tasks that's a bit harder -- does the freezer stuff guarantee this?

yes, that might be doable.

Sounds very fragile though.

Ingo


\
 
 \ /
  Last update: 2009-01-21 12:57    [W:0.035 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site