All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Nick Piggin <npiggin@suse.de>
Cc: Jan Kara <jack@suse.cz>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [rfc][patch] mm: lockdep page lock
Date: Wed, 24 Mar 2010 14:28:11 +0100	[thread overview]
Message-ID: <1269437291.5109.238.camel@twins> (raw)
In-Reply-To: <20100316022153.GJ2869@laptop>

On Tue, 2010-03-16 at 13:21 +1100, Nick Piggin wrote:
> 
> 
> Agreed (btw. Peter is there any way to turn lock debugging back on?
> it's annoying when cpufreq hotplug code or something early breaks and
> you have to reboot in order to do any testing).

Not really, the only way to do that is to get the full system back into
a known (zero) lock state and then fully reset the lockdep state.

It might be possible using the freezer, but I haven't really looked at
that, its usually simpler to simply fix the offending code or simply not
build it in your kernel.



WARNING: multiple messages have this Message-ID (diff)
From: Peter Zijlstra <peterz@infradead.org>
To: Nick Piggin <npiggin@suse.de>
Cc: Jan Kara <jack@suse.cz>,
	Andrew Morton <akpm@linux-foundation.org>,
	 linux-mm@kvack.org, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [rfc][patch] mm: lockdep page lock
Date: Wed, 24 Mar 2010 14:28:11 +0100	[thread overview]
Message-ID: <1269437291.5109.238.camel@twins> (raw)
In-Reply-To: <20100316022153.GJ2869@laptop>

On Tue, 2010-03-16 at 13:21 +1100, Nick Piggin wrote:
> 
> 
> Agreed (btw. Peter is there any way to turn lock debugging back on?
> it's annoying when cpufreq hotplug code or something early breaks and
> you have to reboot in order to do any testing).

Not really, the only way to do that is to get the full system back into
a known (zero) lock state and then fully reset the lockdep state.

It might be possible using the freezer, but I haven't really looked at
that, its usually simpler to simply fix the offending code or simply not
build it in your kernel.


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  parent reply	other threads:[~2010-03-24 13:28 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 15:58 [rfc][patch] mm: lockdep page lock Nick Piggin
2010-03-15 15:58 ` Nick Piggin
2010-03-15 18:08 ` Jan Kara
2010-03-15 18:08   ` Jan Kara
2010-03-16  2:21   ` Nick Piggin
2010-03-16  2:21     ` Nick Piggin
2010-03-16 11:52     ` Jan Kara
2010-03-16 11:52       ` Jan Kara
2010-03-24 13:28     ` Peter Zijlstra [this message]
2010-03-24 13:28       ` Peter Zijlstra
2010-03-25  5:36       ` Nick Piggin
2010-03-25  5:36         ` Nick Piggin
2010-03-25  9:40         ` Peter Zijlstra
2010-03-25  9:40           ` Peter Zijlstra
2010-03-26  3:18       ` Jamie Lokier
2010-03-26  3:18         ` Jamie Lokier
2010-03-26  6:54         ` Peter Zijlstra
2010-03-26  6:54           ` Peter Zijlstra
2010-03-26 11:54           ` Jamie Lokier
2010-03-26 11:54             ` Jamie Lokier
2010-03-24 13:54     ` Peter Zijlstra
2010-03-24 13:54       ` Peter Zijlstra
2010-03-16  6:20 ` Ingo Molnar
2010-03-16  6:20   ` Ingo Molnar
2010-03-16  6:42   ` Nick Piggin
2010-03-16  6:42     ` Nick Piggin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1269437291.5109.238.camel@twins \
    --to=peterz@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=npiggin@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.