[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090319132426.GA27017@elte.hu>
Date: Thu, 19 Mar 2009 14:24:26 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Rusty Russell <rusty@...tcorp.com.au>
Cc: Steven Rostedt <rostedt@...dmis.org>,
LKML <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH] cpumask: remove cpumask allocation from idle_balance
* Rusty Russell <rusty@...tcorp.com.au> wrote:
> On Thursday 19 March 2009 15:22:20 Rusty Russell wrote:
> > #ifdef CONFIG_USER_SCHED
> > alloc_size *= 2;
> > #endif
> > +#ifdef CONFIG_CPUMASK_OFFSTACK
> > + alloc_size *= num_possible_cpus() * cpumask_size();
> > +#endif
>
> Of course, this should be +=. Thanks for crash report, Ingo.
>
> This time for sure,
not so sure:
[ 4.303068] =============================================================================
[ 4.303332] BUG idr_layer_cache: Redzone overwritten
[ 4.303332] -----------------------------------------------------------------------------
[ 4.303332]
[ 4.303332] INFO: 0xffff88003f838958-0xffff88003f83895f. First byte 0xa1 instead of 0xbb
[ 4.303332] INFO: Allocated in 0xffff88003f9b94b0 age=4294878587 cpu=2 pid=0
[ 4.303332] INFO: Freed in 0xffff88003f8389f0 age=18446744073709463001 cpu=4294967295 pid=0
[ 4.303332] INFO: Slab 0xffffe200015d5340 objects=13 used=10 fp=0xffff88003f838738 flags=0x40000000000020c3
[ 4.303332] INFO: Object 0xffff88003f838738 @offset=1848 fp=0x(null)
[ 4.303332]
[ 4.303332] Bytes b4 0xffff88003f838728: 87 a2 fe ff 00 00 00 00 5a 5a 5a 5a 5a 5a 5a 5a .���....ZZZZZZZZ
[ 4.303332] Object 0xffff88003f838738: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
[ 4.303332] Object 0xffff88003f838748: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
[ 4.303332] Object 0xffff88003f838758: 6b 6b 6b 6b 6b 6b 6b 6b 20 00 00 00 00 00 00 00 kkkkkkkk........
[ 4.303332] Object 0xffff88003f838768: e0 22 8b 81 ff ff ff ff e8 26 00 00 00 00 00 00 �"..�����&......
[ 4.303332] Object 0xffff88003f838778: e0 87 83 3f 00 88 ff ff eb 47 53 80 ff ff ff ff �..?..���GS.����
[ 4.303332] Object 0xffff88003f838788: 88 48 53 80 ff ff ff ff c0 87 83 3f 00 88 ff ff .HS.�����..?..��
[ 4.303332] Object 0xffff88003f838798: 08 94 5d 80 ff ff ff ff e0 22 8b 81 ff ff ff ff ..].�����"..����
[ 4.303332] Object 0xffff88003f8387a8: 0a 00 00 00 00 00 00 00 57 94 5d 80 ff ff ff ff ........W.].����
[ 4.303332] Object 0xffff88003f8387b8: b1 8e 5d 80 ff ff ff ff 60 00 00 00 00 00 00 00 �.].����`.......
[ 4.303332] Object 0xffff88003f8387c8: e0 22 8b 81 ff ff ff ff c2 26 00 00 00 00 00 00 �"..�����&......
[ 4.303332] Object 0xffff88003f8387d8: 60 00 00 00 00 00 00 00 00 88 83 3f 00 88 ff ff `..........?..��
[ 4.303332] Object 0xffff88003f8387e8: de 0d 54 80 ff ff ff ff 01 00 00 00 00 00 00 00 �.T.����........
[ 4.303332] Object 0xffff88003f8387f8: e0 22 8b 81 ff ff ff ff 20 88 83 3f 00 88 ff ff �"..����...?..��
[ 4.303332] Object 0xffff88003f838808: 3c 90 9d 80 ff ff ff ff 01 00 00 00 00 00 00 00 <...����........
[ 4.303332] Object 0xffff88003f838818: e0 22 8b 81 ff ff ff ff 70 88 83 3f 00 88 ff ff �"..����p..?..��
[ 4.303332] Object 0xffff88003f838828: 46 00 00 00 00 00 00 00 70 88 83 3f 00 88 ff ff F.......p..?..��
[ 4.303332] Object 0xffff88003f838838: 51 0e 54 80 ff ff ff ff 98 26 d8 80 ff ff ff ff Q.T.����.&�.����
[ 4.303332] Object 0xffff88003f838848: 80 26 d8 80 ff ff ff ff 80 26 d8 80 ff ff ff ff .&�.����.&�.����
[ 4.303332] Object 0xffff88003f838858: 46 00 00 00 00 00 00 00 80 88 83 3f 00 88 ff ff F..........?..��
[ 4.303332] Object 0xffff88003f838868: de 0d 54 80 ff ff ff ff 29 26 01 00 00 00 00 00 �.T.����)&......
[ 4.303332] Object 0xffff88003f838878: 80 26 d8 80 ff ff ff ff a0 88 83 3f 00 88 ff ff .&�.����...?..��
[ 4.303332] Object 0xffff88003f838888: 6e bd 20 80 ff ff ff ff b0 89 83 3f 00 88 ff ff n�..�����..?..��
[ 4.303332] Object 0xffff88003f838898: 46 00 00 00 00 00 00 00 29 26 01 00 00 00 00 00 F.......)&......
[ 4.303332] Object 0xffff88003f8388a8: 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 ................
[ 4.303332] Object 0xffff88003f8388b8: 00 c0 83 3f 00 88 ff ff 00 00 00 00 00 00 00 00 .�.?..��........
[ 4.303332] Object 0xffff88003f8388c8: 1e 25 1f 25 00 00 00 00 01 00 00 00 00 00 00 00 .%.%............
[ 4.303332] Object 0xffff88003f8388d8: 46 02 00 00 00 00 00 00 10 ff ff ff ff ff ff ff F........�������
[ 4.303332] Object 0xffff88003f8388e8: 5e a9 23 80 ff ff ff ff 10 00 00 00 00 00 00 00 ^�#.����........
[ 4.303332] Object 0xffff88003f8388f8: 46 02 00 00 00 00 00 00 10 89 83 3f 00 88 ff ff F..........?..��
[ 4.303332] Object 0xffff88003f838908: 18 00 00 00 00 00 00 00 40 14 b7 01 00 88 ff ff ........@.�...��
[ 4.303332] Object 0xffff88003f838918: 40 14 b7 01 00 88 ff ff 98 d7 5d 01 00 e2 ff ff @.�...��.�]..���
[ 4.303332] Object 0xffff88003f838928: b0 94 9b 3f 04 00 00 00 46 02 00 00 00 00 00 00 �..?....F.......
[ 4.303332] Object 0xffff88003f838938: b0 f7 f8 80 00 00 00 00 80 89 83 3f 00 88 ff ff ���........?..��
[ 4.303332] Object 0xffff88003f838948: 82 00 00 00 00 00 00 00 53 56 21 80 ff ff ff ff ........SV!.����
[ 4.303332] Redzone 0xffff88003f838958: a1 ff ff ff 00 00 00 00 ����....
[ 4.303332] Padding 0xffff88003f838998: e0 a6 fc 80 ff ff ff ff ���.����
[ 4.303332] Pid: 1, comm: swapper Not tainted 2.6.29-rc8-tip-02665-g4c672bd-dirty #21494
[ 4.303332] Call Trace:
[ 4.303332] [<ffffffff802abdbf>] print_trailer+0x140/0x149
[ 4.303332] [<ffffffff802ac2fc>] check_bytes_and_report+0xb7/0xf7
[ 4.303332] [<ffffffff802ac39d>] check_object+0x61/0x20d
[ 4.303332] [<ffffffff802addf6>] __slab_alloc+0x41d/0x519
[ 4.303332] [<ffffffff8052d7a8>] ? idr_pre_get+0x2d/0x75
[ 4.303332] [<ffffffff8052d7bc>] ? idr_pre_get+0x41/0x75
[ 4.303332] [<ffffffff8052d7a8>] ? idr_pre_get+0x2d/0x75
[ 4.303332] [<ffffffff802adf82>] kmem_cache_alloc+0x90/0xc1
[ 4.303332] [<ffffffff8052d7a8>] idr_pre_get+0x2d/0x75
[ 4.303332] [<ffffffff8052d801>] ida_pre_get+0x11/0x61
[ 4.303332] [<ffffffff803053cf>] sysfs_new_dirent+0xa7/0x105
[ 4.303332] [<ffffffff80304d55>] sysfs_add_file_mode+0x36/0x90
[ 4.303332] [<ffffffff8030692b>] internal_create_group+0xc8/0x152
[ 4.303332] [<ffffffff803069e0>] sysfs_create_group+0x13/0x17
[ 4.303332] [<ffffffff802af162>] sysfs_slab_add+0x13f/0x17d
[ 4.303332] [<ffffffff81014238>] ? slab_sysfs_init+0x0/0xf0
[ 4.303332] [<ffffffff81014296>] slab_sysfs_init+0x5e/0xf0
[ 4.303332] [<ffffffff81014238>] ? slab_sysfs_init+0x0/0xf0
[ 4.303332] [<ffffffff80209080>] do_one_initcall+0x75/0x185
[ 4.303332] [<ffffffff8052d672>] ? ida_get_new_above+0x18d/0x1ae
[ 4.303332] [<ffffffff802ac49a>] ? check_object+0x15e/0x20d
[ 4.303332] [<ffffffff802ac003>] ? trace+0x12/0x82
[ 4.303332] [<ffffffff802ac9d7>] ? init_object+0xd/0x58
[ 4.303332] [<ffffffff8025a403>] ? __lock_acquire+0x7f2/0x846
[ 4.303332] [<ffffffff80540dde>] ? _raw_spin_unlock+0x8f/0x96
[ 4.303332] [<ffffffff809d903c>] ? _spin_unlock+0x2b/0x2f
[ 4.303332] [<ffffffff802fc575>] ? proc_register+0x122/0x175
[ 4.303332] [<ffffffff802fc5b2>] ? proc_register+0x15f/0x175
[ 4.303332] [<ffffffff802fc6fa>] ? create_proc_entry+0x83/0x99
[ 4.303332] [<ffffffff802f0000>] ? __mb_cache_entry_find+0x9f/0x124
[ 4.303332] [<ffffffff80272131>] ? irq_to_desc+0x9/0x29
[ 4.303332] [<ffffffff80ffe64a>] kernel_init+0x13c/0x192
[ 4.303332] [<ffffffff8020c26a>] child_rip+0xa/0x20
[ 4.303332] [<ffffffff80ffe50e>] ? kernel_init+0x0/0x192
[ 4.303332] [<ffffffff8020c260>] ? child_rip+0x0/0x20
[ 4.303332] FIX idr_layer_cache: Restoring 0xffff88003f838958-0xffff88003f83895f=0xbb
[ 4.303332]
[ 4.303332] FIX idr_layer_cache: Marking all objects used
[ 4.339819] initcall slab_sysfs_init+0x0/0xf0 returned 0 after 39062 usecs
Config attached.
Ingo
View attachment "config" of type "text/plain" (65736 bytes)
Powered by blists - more mailing lists