| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 05/11] XFS: Fix lock ASSERT on UP |
| From: | Andi Kleen <ak@xxxxxxxxxxxxxxx> |
| Date: | Mon, 19 Mar 2012 19:28:12 -0700 |
| Cc: | Andi Kleen <andi@xxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, xfs-masters@xxxxxxxxxxx |
| In-reply-to: | <20120319224753.GC3592@dastard> |
| References: | <1331924464-18023-1-git-send-email-andi@xxxxxxxxxxxxxx> <1331924464-18023-6-git-send-email-andi@xxxxxxxxxxxxxx> <20120319224753.GC3592@dastard> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
> So this means we only ever check that the spinlock is held when > lockdep is turned on instead of whenever CONFIG_XFS_DEBUG is set? You should regularly test with lockdep anyways. If you don't you clearly have a testing gap. lockdep is likely to find many more locking bugs than any of your very sparse manual annotations. > That means it will rarely get checked during development instead of > all the time. That's not an improvement IMO.... It's an improvement that an !CONFIG_SMP && CONFIG_XFS_DEBUG kernel will not blow up anymore. -Andi |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 05/11] XFS: Fix lock ASSERT on UP, Dave Chinner |
|---|---|
| Next by Date: | [Bug 916] xfs_log_force blocked, bugzilla-daemon |
| Previous by Thread: | Re: [PATCH 05/11] XFS: Fix lock ASSERT on UP, Dave Chinner |
| Next by Thread: | Re: [PATCH 05/11] XFS: Fix lock ASSERT on UP, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |