Re: circular locking: /proc/sys/vm/drop_caches

2007-02-23 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > The only (lame) thing I can say for now is that drop_caches is a > debug-only, root-only thing :( ok, that's fair enough. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTE

Re: circular locking: /proc/sys/vm/drop_caches

2007-02-23 Thread Andrew Morton
> On Fri, 23 Feb 2007 07:35:38 +0100 Ingo Molnar <[EMAIL PROTECTED]> wrote: > i just got the lockdep warning below when doing: > > echo 3 > /proc/sys/vm/drop_caches > > is this a known quirk in the drop_caches code? It is - we're taking inode_lock at just the wrong level there and I don't know

Re: circular locking: /proc/sys/vm/drop_caches

2007-02-23 Thread Frederik Deweerdt
On Fri, Feb 23, 2007 at 07:35:38AM +0100, Ingo Molnar wrote: > > Andrew, > > i just got the lockdep warning below when doing: > > echo 3 > /proc/sys/vm/drop_caches > > is this a known quirk in the drop_caches code? > This is known, yes: http://lkml.org/lkml/2006/12/4/19 Regards, Frederik -

circular locking: /proc/sys/vm/drop_caches

2007-02-22 Thread Ingo Molnar
Andrew, i just got the lockdep warning below when doing: echo 3 > /proc/sys/vm/drop_caches is this a known quirk in the drop_caches code? Ingo === [ INFO: possible circular locking dependency detected ] 2.6.20-syslet #434 -