public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: "Michael L. Semon" <mlsemon35@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: Lockdep message on 3.9.3 (already fixed?)...
Date: Thu, 23 May 2013 16:38:35 +1000	[thread overview]
Message-ID: <20130523063834.GZ24543@dastard> (raw)
In-Reply-To: <519B9EF5.5060809@gmail.com>

On Tue, May 21, 2013 at 12:21:09PM -0400, Michael L. Semon wrote:
> Hi!  I'm beginning to lose track of lockdep messages and feel like a
> new message is sneaking in there.
> 
> This lockdep comes from kernel 3.9.3, which I was asked to use in
> order to gather DRM info.  The PC was booted to a console and left
> to do a long 24kB/s download and default distro cron duties (slocate
> and such), in hopes that console inactivity, console blanking, and
> monitor sleep would kick up a soft oops from DRM like it does on
> 3.10.0-rc.
> 
> This may also apply to the devel kernels, but the PC needs to be
> left alone for me to verify this.
> 
> I've read the Dave Chinner position on stable kernels but don't know
> if they apply to the first stable kernel out of
> mainline...especially because that kernel has a lifespan of a
> housefly nowadays...
> 
> As always, thanks for reading!
> 
> Michael
> 
> =================================
> [ INFO: inconsistent lock state ]
> 3.9.3 #1 Not tainted
> ---------------------------------
> inconsistent {RECLAIM_FS-ON-R} -> {IN-RECLAIM_FS-W} usage.
> kswapd0/18 [HC0[0]:SC0[0]:HE1:SE1] takes:
>  (&(&ip->i_lock)->mr_lock){++++-?}, at: [<c120e2ea>] xfs_ilock+0xff/0x15e
> {RECLAIM_FS-ON-R} state was registered at:
>   [<c10638e7>] mark_held_locks+0x80/0xcb
>   [<c1063e18>] lockdep_trace_alloc+0x59/0x9d
>   [<c10a9846>] __alloc_pages_nodemask+0x70/0x6f2
>   [<c10a9ee4>] __get_free_pages+0x1c/0x3d
>   [<c1025644>] pte_alloc_one_kernel+0x14/0x16
>   [<c10beb1b>] __pte_alloc_kernel+0x16/0x71
>   [<c10c8380>] vmap_page_range_noflush+0x12e/0x13c
>   [<c10c9480>] vm_map_ram+0x3b9/0x46c
>   [<c11c0739>] _xfs_buf_map_pages+0x5b/0xe7
>   [<c11c1372>] xfs_buf_get_map+0x67/0x13a
>   [<c11c1ff2>] xfs_buf_read_map+0x1f/0xc0
>   [<c11c20da>] xfs_buf_readahead_map+0x47/0x57
>   [<c11ffc18>] xfs_da_reada_buf+0xaf/0xbd
>   [<c120276c>] xfs_dir2_data_readahead+0x2f/0x36

Known issue. vm_map_ram() won't let us pass GFP_NOFS, so it does
GFP_KERNEL allocations in places that cause lockdep to go nuts. This
one here is not going to deadlock, but there are other cases where
it potentially could...

The VM folk refuse to allow us to pass gfp flags, so we're stuck
we're stuck with this lockdep noise.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      reply	other threads:[~2013-05-23  6:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-21 16:21 Lockdep message on 3.9.3 (already fixed?) Michael L. Semon
2013-05-23  6:38 ` Dave Chinner [this message]

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=20130523063834.GZ24543@dastard \
    --to=david@fromorbit.com \
    --cc=mlsemon35@gmail.com \
    --cc=xfs@oss.sgi.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox