Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-15 Thread Michal Hocko
On Thu 04-07-13 18:36:43, Michal Hocko wrote: > On Wed 03-07-13 21:24:03, Dave Chinner wrote: > > On Tue, Jul 02, 2013 at 02:44:27PM +0200, Michal Hocko wrote: > > > On Tue 02-07-13 22:19:47, Dave Chinner wrote: > > > [...] > > > > Ok, so it's been leaked from a dispose list somehow. Thanks for the

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-12 Thread Dave Chinner
On Thu, Jul 11, 2013 at 06:42:03PM -0700, Hugh Dickins wrote: > On Thu, 11 Jul 2013, Michal Hocko wrote: > > On Thu 11-07-13 12:26:34, Dave Chinner wrote: > > > > We are wating for page under writeback but neither of the 2 paths starts > > > > in xfs code. So I do not think waiting for PageWritebac

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-11 Thread Hugh Dickins
On Thu, 11 Jul 2013, Michal Hocko wrote: > On Thu 11-07-13 12:26:34, Dave Chinner wrote: > > On Wed, Jul 10, 2013 at 10:06:05AM +0200, Michal Hocko wrote: > > > On Wed 10-07-13 12:31:39, Dave Chinner wrote: > > > [...] > > > > > 20761 [] xlog_grant_head_wait+0xdd/0x1a0 [xfs] > > > > > [] xlog_grant

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-11 Thread Michal Hocko
On Thu 11-07-13 12:26:34, Dave Chinner wrote: > On Wed, Jul 10, 2013 at 10:06:05AM +0200, Michal Hocko wrote: > > On Wed 10-07-13 12:31:39, Dave Chinner wrote: > > [...] > > > > 20761 [] xlog_grant_head_wait+0xdd/0x1a0 [xfs] > > > > [] xlog_grant_head_check+0xc6/0xe0 [xfs] > > > > [] xfs_log_reserv

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-10 Thread Andrew Morton
On Thu, 11 Jul 2013 12:26:34 +1000 Dave Chinner wrote: > > Just for reference. wait_on_page_writeback is issued only for memcg > > reclaim because there is no other throttling mechanism to prevent from > > too many dirty pages on the list, thus pre-mature OOM killer. See > > e62e384e9d (memcg: pr

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-10 Thread Dave Chinner
On Wed, Jul 10, 2013 at 10:06:05AM +0200, Michal Hocko wrote: > On Wed 10-07-13 12:31:39, Dave Chinner wrote: > [...] > > > 20761 [] xlog_grant_head_wait+0xdd/0x1a0 [xfs] > > > [] xlog_grant_head_check+0xc6/0xe0 [xfs] > > > [] xfs_log_reserve+0xff/0x240 [xfs] > > > [] xfs_trans_reserve+0x234/0x240

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-10 Thread Michal Hocko
On Wed 10-07-13 12:31:39, Dave Chinner wrote: [...] > > 20761 [] xlog_grant_head_wait+0xdd/0x1a0 [xfs] > > [] xlog_grant_head_check+0xc6/0xe0 [xfs] > > [] xfs_log_reserve+0xff/0x240 [xfs] > > [] xfs_trans_reserve+0x234/0x240 [xfs] > > [] xfs_create+0x1a9/0x5c0 [xfs] > > [] xfs_vn_mknod+0x8a/0x1a0 [

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-10 Thread Michal Hocko
On Wed 10-07-13 12:31:39, Dave Chinner wrote: > On Mon, Jul 08, 2013 at 02:53:52PM +0200, Michal Hocko wrote: [...] > > Hmm, it seems I was too optimistic or we have yet another issue here (I > > guess the later is more probable). > > > > The weekend testing got stuck as well. > > > 20761 []

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-09 Thread Dave Chinner
On Mon, Jul 08, 2013 at 02:53:52PM +0200, Michal Hocko wrote: > On Thu 04-07-13 18:36:43, Michal Hocko wrote: > > On Wed 03-07-13 21:24:03, Dave Chinner wrote: > > > On Tue, Jul 02, 2013 at 02:44:27PM +0200, Michal Hocko wrote: > > > > On Tue 02-07-13 22:19:47, Dave Chinner wrote: > > > > [...] > >

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-09 Thread Andrew Morton
On Tue, 9 Jul 2013 19:57:49 +0200 Michal Hocko wrote: > On Tue 09-07-13 21:32:51, Glauber Costa wrote: > [...] > > You seem to have switched to XFS. > > Yes, to make sure that the original hang is not fs specific. I can > switch to other fs if it helps. This seems to be really hard to > reproduc

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-09 Thread Michal Hocko
On Tue 09-07-13 21:32:51, Glauber Costa wrote: [...] > You seem to have switched to XFS. Yes, to make sure that the original hang is not fs specific. I can switch to other fs if it helps. This seems to be really hard to reproduce now so I would rather not change things if possible. > Dave posted

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-09 Thread Glauber Costa
On Tue, Jul 09, 2013 at 10:50:32AM -0700, Andrew Morton wrote: > On Tue, 9 Jul 2013 21:32:51 +0400 Glauber Costa wrote: > > > > $ dmesg | grep "blocked for more than" > > > [276962.652076] INFO: task xfs-data/sda9:930 blocked for more than 480 > > > seconds. > > > [276962.653097] INFO: task kwor

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-09 Thread Andrew Morton
On Tue, 9 Jul 2013 21:34:08 +0400 Glauber Costa wrote: > On Mon, Jul 08, 2013 at 02:04:19PM -0700, Andrew Morton wrote: > > On Mon, 8 Jul 2013 14:53:52 +0200 Michal Hocko wrote: > > > > > > Good news! The test was running since morning and it didn't hang nor > > > > crashed. So this really look

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-09 Thread Andrew Morton
On Tue, 9 Jul 2013 21:32:51 +0400 Glauber Costa wrote: > > $ dmesg | grep "blocked for more than" > > [276962.652076] INFO: task xfs-data/sda9:930 blocked for more than 480 > > seconds. > > [276962.653097] INFO: task kworker/2:2:17823 blocked for more than 480 > > seconds. > > [276962.653940] I

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-09 Thread Glauber Costa
On Mon, Jul 08, 2013 at 02:53:52PM +0200, Michal Hocko wrote: > On Thu 04-07-13 18:36:43, Michal Hocko wrote: > > On Wed 03-07-13 21:24:03, Dave Chinner wrote: > > > On Tue, Jul 02, 2013 at 02:44:27PM +0200, Michal Hocko wrote: > > > > On Tue 02-07-13 22:19:47, Dave Chinner wrote: > > > > [...] > >

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-09 Thread Glauber Costa
On Mon, Jul 08, 2013 at 02:04:19PM -0700, Andrew Morton wrote: > On Mon, 8 Jul 2013 14:53:52 +0200 Michal Hocko wrote: > > > > Good news! The test was running since morning and it didn't hang nor > > > crashed. So this really looks like the right fix. It will run also > > > during weekend to be 1

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-08 Thread Andrew Morton
On Mon, 8 Jul 2013 14:53:52 +0200 Michal Hocko wrote: > > Good news! The test was running since morning and it didn't hang nor > > crashed. So this really looks like the right fix. It will run also > > during weekend to be 100% sure. But I guess it is safe to say > > Hmm, it seems I was too opti

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-04 Thread Michal Hocko
On Wed 03-07-13 21:24:03, Dave Chinner wrote: > On Tue, Jul 02, 2013 at 02:44:27PM +0200, Michal Hocko wrote: > > On Tue 02-07-13 22:19:47, Dave Chinner wrote: > > [...] > > > Ok, so it's been leaked from a dispose list somehow. Thanks for the > > > info, Michal, it's time to go look at the code...

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-03 Thread Glauber Costa
On Wed, Jul 03, 2013 at 09:24:03PM +1000, Dave Chinner wrote: > On Tue, Jul 02, 2013 at 02:44:27PM +0200, Michal Hocko wrote: > > On Tue 02-07-13 22:19:47, Dave Chinner wrote: > > [...] > > > Ok, so it's been leaked from a dispose list somehow. Thanks for the > > > info, Michal, it's time to go loo

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-03 Thread Dave Chinner
On Tue, Jul 02, 2013 at 02:44:27PM +0200, Michal Hocko wrote: > On Tue 02-07-13 22:19:47, Dave Chinner wrote: > [...] > > Ok, so it's been leaked from a dispose list somehow. Thanks for the > > info, Michal, it's time to go look at the code > > OK, just in case we will need it, I am keeping th

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-02 Thread Michal Hocko
On Tue 02-07-13 22:19:47, Dave Chinner wrote: [...] > Ok, so it's been leaked from a dispose list somehow. Thanks for the > info, Michal, it's time to go look at the code OK, just in case we will need it, I am keeping the machine in this state for now. So we still can play with crash and check

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-02 Thread Dave Chinner
On Tue, Jul 02, 2013 at 11:22:00AM +0200, Michal Hocko wrote: > On Mon 01-07-13 18:10:56, Dave Chinner wrote: > > On Mon, Jul 01, 2013 at 09:50:05AM +0200, Michal Hocko wrote: > > > On Mon 01-07-13 11:25:58, Dave Chinner wrote: > > That is the recycle stat, which indicates we've found an inode bein

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-02 Thread Michal Hocko
On Mon 01-07-13 18:10:56, Dave Chinner wrote: > On Mon, Jul 01, 2013 at 09:50:05AM +0200, Michal Hocko wrote: > > On Mon 01-07-13 11:25:58, Dave Chinner wrote: > > > On Sun, Jun 30, 2013 at 08:33:49PM +0200, Michal Hocko wrote: > > > > On Sat 29-06-13 12:55:09, Dave Chinner wrote: > > > > > On Thu,

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-01 Thread Dave Chinner
On Mon, Jul 01, 2013 at 09:50:05AM +0200, Michal Hocko wrote: > On Mon 01-07-13 11:25:58, Dave Chinner wrote: > > On Sun, Jun 30, 2013 at 08:33:49PM +0200, Michal Hocko wrote: > > > On Sat 29-06-13 12:55:09, Dave Chinner wrote: > > > > On Thu, Jun 27, 2013 at 04:54:11PM +0200, Michal Hocko wrote: >

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-01 Thread Michal Hocko
On Mon 01-07-13 11:25:58, Dave Chinner wrote: > On Sun, Jun 30, 2013 at 08:33:49PM +0200, Michal Hocko wrote: > > On Sat 29-06-13 12:55:09, Dave Chinner wrote: > > > On Thu, Jun 27, 2013 at 04:54:11PM +0200, Michal Hocko wrote: > > > > On Thu 27-06-13 09:24:26, Dave Chinner wrote: > > > > > On Wed,

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-30 Thread Dave Chinner
On Sun, Jun 30, 2013 at 08:33:49PM +0200, Michal Hocko wrote: > On Sat 29-06-13 12:55:09, Dave Chinner wrote: > > On Thu, Jun 27, 2013 at 04:54:11PM +0200, Michal Hocko wrote: > > > On Thu 27-06-13 09:24:26, Dave Chinner wrote: > > > > On Wed, Jun 26, 2013 at 10:15:09AM +0200, Michal Hocko wrote: >

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-30 Thread Michal Hocko
On Sat 29-06-13 12:55:09, Dave Chinner wrote: > On Thu, Jun 27, 2013 at 04:54:11PM +0200, Michal Hocko wrote: > > On Thu 27-06-13 09:24:26, Dave Chinner wrote: > > > On Wed, Jun 26, 2013 at 10:15:09AM +0200, Michal Hocko wrote: > > > > On Tue 25-06-13 12:27:54, Dave Chinner wrote: > > > > > On Tue,

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-28 Thread Dave Chinner
On Thu, Jun 27, 2013 at 04:54:11PM +0200, Michal Hocko wrote: > On Thu 27-06-13 09:24:26, Dave Chinner wrote: > > On Wed, Jun 26, 2013 at 10:15:09AM +0200, Michal Hocko wrote: > > > On Tue 25-06-13 12:27:54, Dave Chinner wrote: > > > > On Tue, Jun 18, 2013 at 03:50:25PM +0200, Michal Hocko wrote: >

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-28 Thread Michal Hocko
On Fri 28-06-13 18:31:26, Glauber Costa wrote: > On Fri, Jun 28, 2013 at 10:39:43AM +0200, Michal Hocko wrote: > > I have just triggered this one. > > > > [37955.364062] RIP: 0010:[] [] > > list_lru_walk_node+0xab/0x140 > > [37955.364062] RSP: :8800374af7b8 EFLAGS: 00010286 > > [37955.3

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-28 Thread Glauber Costa
On Fri, Jun 28, 2013 at 10:39:43AM +0200, Michal Hocko wrote: > I have just triggered this one. > > [37955.364062] RIP: 0010:[] [] > list_lru_walk_node+0xab/0x140 > [37955.364062] RSP: :8800374af7b8 EFLAGS: 00010286 > [37955.364062] RAX: 0106 RBX: 88002ead7838 RCX: > ff

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-28 Thread Michal Hocko
I have just triggered this one. [37955.354041] BUG: unable to handle kernel paging request at 00572ead7838 [37955.356032] IP: [] list_lru_walk_node+0xab/0x140 [37955.364062] PGD 2bf0a067 PUD 0 [37955.364062] Oops: [#1] SMP [37955.364062] Modules linked in: edd nfsv3 nfs_acl nfs fscache

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-27 Thread Michal Hocko
On Thu 27-06-13 09:24:26, Dave Chinner wrote: > On Wed, Jun 26, 2013 at 10:15:09AM +0200, Michal Hocko wrote: > > On Tue 25-06-13 12:27:54, Dave Chinner wrote: > > > On Tue, Jun 18, 2013 at 03:50:25PM +0200, Michal Hocko wrote: > > > > And again, another hang. It looks like the inode deletion never

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-26 Thread Dave Chinner
On Wed, Jun 26, 2013 at 10:15:09AM +0200, Michal Hocko wrote: > On Tue 25-06-13 12:27:54, Dave Chinner wrote: > > On Tue, Jun 18, 2013 at 03:50:25PM +0200, Michal Hocko wrote: > > > And again, another hang. It looks like the inode deletion never > > > finishes. The good thing is that I do not see a

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-26 Thread Michal Hocko
On Sun 23-06-13 15:51:29, Glauber Costa wrote: > On Fri, Jun 21, 2013 at 11:00:21AM +0200, Michal Hocko wrote: > > On Thu 20-06-13 17:12:01, Michal Hocko wrote: > > > I am bisecting it again. It is quite tedious, though, because good case > > > is hard to be sure about. > > > > OK, so now I conver

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-26 Thread Michal Hocko
On Tue 25-06-13 12:27:54, Dave Chinner wrote: > On Tue, Jun 18, 2013 at 03:50:25PM +0200, Michal Hocko wrote: > > And again, another hang. It looks like the inode deletion never > > finishes. The good thing is that I do not see any LRU related BUG_ONs > > anymore. I am going to test with the other

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-24 Thread Dave Chinner
On Sun, Jun 23, 2013 at 03:51:29PM +0400, Glauber Costa wrote: > On Fri, Jun 21, 2013 at 11:00:21AM +0200, Michal Hocko wrote: > > On Thu 20-06-13 17:12:01, Michal Hocko wrote: > > > I am bisecting it again. It is quite tedious, though, because good case > > > is hard to be sure about. > > > > OK,

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-24 Thread Dave Chinner
On Tue, Jun 18, 2013 at 03:50:25PM +0200, Michal Hocko wrote: > And again, another hang. It looks like the inode deletion never > finishes. The good thing is that I do not see any LRU related BUG_ONs > anymore. I am going to test with the other patch in the thread. > > 2476 [] __wait_on_freeing_in

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-23 Thread Glauber Costa
On Sun, Jun 23, 2013 at 03:51:29PM +0400, Glauber Costa wrote: > On Fri, Jun 21, 2013 at 11:00:21AM +0200, Michal Hocko wrote: > > On Thu 20-06-13 17:12:01, Michal Hocko wrote: > > > I am bisecting it again. It is quite tedious, though, because good case > > > is hard to be sure about. > > > > OK,

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-23 Thread Glauber Costa
On Fri, Jun 21, 2013 at 11:00:21AM +0200, Michal Hocko wrote: > On Thu 20-06-13 17:12:01, Michal Hocko wrote: > > I am bisecting it again. It is quite tedious, though, because good case > > is hard to be sure about. > > OK, so now I converged to 2d4fc052 (inode: convert inode lru list to generic

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-21 Thread Michal Hocko
On Thu 20-06-13 17:12:01, Michal Hocko wrote: > I am bisecting it again. It is quite tedious, though, because good case > is hard to be sure about. OK, so now I converged to 2d4fc052 (inode: convert inode lru list to generic lru list code.) in my tree and I have double checked it matches what is i

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-20 Thread Michal Hocko
On Thu 20-06-13 17:12:01, Michal Hocko wrote: > On Thu 20-06-13 18:11:38, Glauber Costa wrote: > [...] > > > [84091.219056] [ cut here ] > > > [84091.220015] kernel BUG at mm/list_lru.c:42! > > > [84091.220015] invalid opcode: [#1] SMP > > > [84091.220015] Modules link

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-20 Thread Glauber Costa
On Wed, Jun 19, 2013 at 04:28:01PM +0200, Michal Hocko wrote: > On Wed 19-06-13 09:13:46, Michal Hocko wrote: > > On Tue 18-06-13 10:26:24, Glauber Costa wrote: > > [...] > > > Michal, would you mind testing the following patch? > > > > > > diff --git a/fs/inode.c b/fs/inode.c > > > index 00b804e..

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-19 Thread Michal Hocko
On Wed 19-06-13 09:13:46, Michal Hocko wrote: > On Tue 18-06-13 10:26:24, Glauber Costa wrote: > [...] > > Michal, would you mind testing the following patch? > > > > diff --git a/fs/inode.c b/fs/inode.c > > index 00b804e..48eafa6 100644 > > --- a/fs/inode.c > > +++ b/fs/inode.c > > @@ -419,6 +419,

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-19 Thread Glauber Costa
On Wed, Jun 19, 2013 at 03:57:16PM +0200, Michal Hocko wrote: > On Wed 19-06-13 11:35:27, Glauber Costa wrote: > [...] > > Sorry if you said that before Michal. > > > > But given the backtrace, are you sure this is LRU-related? > > No idea. I just know that my mm tree behaves correctly after the

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-19 Thread Michal Hocko
On Wed 19-06-13 11:35:27, Glauber Costa wrote: [...] > Sorry if you said that before Michal. > > But given the backtrace, are you sure this is LRU-related? No idea. I just know that my mm tree behaves correctly after the whole series has been reverted (58f6e0c8fb37e8e37d5ac17a61a53ac236c15047) an

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-19 Thread Glauber Costa
On Wed, Jun 19, 2013 at 11:35:27AM +0400, Glauber Costa wrote: > On Wed, Jun 19, 2013 at 09:13:46AM +0200, Michal Hocko wrote: > > On Tue 18-06-13 10:26:24, Glauber Costa wrote: > > [...] > > > Michal, would you mind testing the following patch? > > > > > > diff --git a/fs/inode.c b/fs/inode.c > >

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-19 Thread Glauber Costa
On Wed, Jun 19, 2013 at 09:13:46AM +0200, Michal Hocko wrote: > On Tue 18-06-13 10:26:24, Glauber Costa wrote: > [...] > > Michal, would you mind testing the following patch? > > > > diff --git a/fs/inode.c b/fs/inode.c > > index 00b804e..48eafa6 100644 > > --- a/fs/inode.c > > +++ b/fs/inode.c > >

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-19 Thread Michal Hocko
On Tue 18-06-13 10:26:24, Glauber Costa wrote: [...] > Michal, would you mind testing the following patch? > > diff --git a/fs/inode.c b/fs/inode.c > index 00b804e..48eafa6 100644 > --- a/fs/inode.c > +++ b/fs/inode.c > @@ -419,6 +419,8 @@ void inode_add_lru(struct inode *inode) > > static void

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-18 Thread Michal Hocko
And again, another hang. It looks like the inode deletion never finishes. The good thing is that I do not see any LRU related BUG_ONs anymore. I am going to test with the other patch in the thread. 2476 [] __wait_on_freeing_inode+0x9e/0xc0 <<< waiting for an inode to go away [] find_inode_fas

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-18 Thread Michal Hocko
On Tue 18-06-13 10:24:14, Michal Hocko wrote: > On Tue 18-06-13 10:31:05, Glauber Costa wrote: > > On Tue, Jun 18, 2013 at 12:46:23PM +1000, Dave Chinner wrote: > > > On Tue, Jun 18, 2013 at 02:30:05AM +0400, Glauber Costa wrote: > > > > On Mon, Jun 17, 2013 at 02:35:08PM -0700, Andrew Morton wrote

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-18 Thread Michal Hocko
On Tue 18-06-13 12:21:33, Glauber Costa wrote: > On Tue, Jun 18, 2013 at 10:19:31AM +0200, Michal Hocko wrote: [...] > > No this is ext3. But I can try to test with xfs as well if it helps. > > [...] > > XFS won't help this, on the contrary. The reason I asked is because XFS > uses list_lru for it

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-18 Thread Michal Hocko
On Tue 18-06-13 10:26:24, Glauber Costa wrote: [...] > Which is obviously borked since I did not fix the other callers so to move > I_FREEING > after lru del. > > Michal, would you mind testing the following patch? I was about to start testing with inode_lru_isolate fix. I will give it few runs

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-18 Thread Michal Hocko
On Tue 18-06-13 10:31:05, Glauber Costa wrote: > On Tue, Jun 18, 2013 at 12:46:23PM +1000, Dave Chinner wrote: > > On Tue, Jun 18, 2013 at 02:30:05AM +0400, Glauber Costa wrote: > > > On Mon, Jun 17, 2013 at 02:35:08PM -0700, Andrew Morton wrote: > > > > On Mon, 17 Jun 2013 19:14:12 +0400 Glauber C

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-18 Thread Glauber Costa
On Tue, Jun 18, 2013 at 10:19:31AM +0200, Michal Hocko wrote: > On Tue 18-06-13 02:30:05, Glauber Costa wrote: > > On Mon, Jun 17, 2013 at 02:35:08PM -0700, Andrew Morton wrote: > [...] > > > The trace says shrink_slab_node->super_cache_scan->prune_icache_sb. So > > > it's inodes? > > > > > Assum

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-18 Thread Michal Hocko
On Tue 18-06-13 02:30:05, Glauber Costa wrote: > On Mon, Jun 17, 2013 at 02:35:08PM -0700, Andrew Morton wrote: [...] > > The trace says shrink_slab_node->super_cache_scan->prune_icache_sb. So > > it's inodes? > > > Assuming there is no memory corruption of any sort going on , let's > check the c

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-18 Thread Michal Hocko
On Mon 17-06-13 20:54:10, Glauber Costa wrote: > On Mon, Jun 17, 2013 at 05:33:02PM +0200, Michal Hocko wrote: [...] > > I have seen some other traces as well (mentioning ext3 dput paths) but I > > cannot reproduce them anymore. > > > > Do you have those traces? If there is a bug in the ext3 dput

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-17 Thread Glauber Costa
On Tue, Jun 18, 2013 at 12:46:23PM +1000, Dave Chinner wrote: > On Tue, Jun 18, 2013 at 02:30:05AM +0400, Glauber Costa wrote: > > On Mon, Jun 17, 2013 at 02:35:08PM -0700, Andrew Morton wrote: > > > On Mon, 17 Jun 2013 19:14:12 +0400 Glauber Costa > > > wrote: > > > > > > > > I managed to trigg

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-17 Thread Glauber Costa
On Tue, Jun 18, 2013 at 02:30:05AM +0400, Glauber Costa wrote: > On Mon, Jun 17, 2013 at 02:35:08PM -0700, Andrew Morton wrote: > > On Mon, 17 Jun 2013 19:14:12 +0400 Glauber Costa wrote: > > > > > > I managed to trigger: > > > > [ 1015.776029] kernel BUG at mm/list_lru.c:92! > > > > [ 1015.77602

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-17 Thread Dave Chinner
On Tue, Jun 18, 2013 at 02:30:05AM +0400, Glauber Costa wrote: > On Mon, Jun 17, 2013 at 02:35:08PM -0700, Andrew Morton wrote: > > On Mon, 17 Jun 2013 19:14:12 +0400 Glauber Costa wrote: > > > > > > I managed to trigger: > > > > [ 1015.776029] kernel BUG at mm/list_lru.c:92! > > > > [ 1015.77602

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-17 Thread Glauber Costa
On Mon, Jun 17, 2013 at 02:35:08PM -0700, Andrew Morton wrote: > On Mon, 17 Jun 2013 19:14:12 +0400 Glauber Costa wrote: > > > > I managed to trigger: > > > [ 1015.776029] kernel BUG at mm/list_lru.c:92! > > > [ 1015.776029] invalid opcode: [#1] SMP > > > with Linux next (next-20130607) with

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-17 Thread Andrew Morton
On Mon, 17 Jun 2013 19:14:12 +0400 Glauber Costa wrote: > > I managed to trigger: > > [ 1015.776029] kernel BUG at mm/list_lru.c:92! > > [ 1015.776029] invalid opcode: [#1] SMP > > with Linux next (next-20130607) with https://lkml.org/lkml/2013/6/17/203 > > on top. > > > > This is obviousl

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-17 Thread Glauber Costa
On Mon, Jun 17, 2013 at 05:33:02PM +0200, Michal Hocko wrote: > On Mon 17-06-13 19:14:12, Glauber Costa wrote: > > On Mon, Jun 17, 2013 at 04:18:22PM +0200, Michal Hocko wrote: > > > Hi, > > > > Hi, > > > > > I managed to trigger: > > > [ 1015.776029] kernel BUG at mm/list_lru.c:92! > > > [ 1015.

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-17 Thread Michal Hocko
On Mon 17-06-13 19:14:12, Glauber Costa wrote: > On Mon, Jun 17, 2013 at 04:18:22PM +0200, Michal Hocko wrote: > > Hi, > > Hi, > > > I managed to trigger: > > [ 1015.776029] kernel BUG at mm/list_lru.c:92! > > [ 1015.776029] invalid opcode: [#1] SMP > > with Linux next (next-20130607) with h

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-17 Thread Glauber Costa
On Mon, Jun 17, 2013 at 04:18:22PM +0200, Michal Hocko wrote: > Hi, Hi, > I managed to trigger: > [ 1015.776029] kernel BUG at mm/list_lru.c:92! > [ 1015.776029] invalid opcode: [#1] SMP > with Linux next (next-20130607) with https://lkml.org/lkml/2013/6/17/203 > on top. > > This is obviou

linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-17 Thread Michal Hocko
Hi, I managed to trigger: [ 1015.776029] kernel BUG at mm/list_lru.c:92! [ 1015.776029] invalid opcode: [#1] SMP [ 1015.776029] Modules linked in: edd nfsv3 nfs_acl nfs fscache lockd sunrpc af_packet bridge stp llc cpufreq_conservative cpufreq_userspace cpufreq_powersave powernow_k8 fuse loo