Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-13 Thread Robert Hancock
Zhao Forrest wrote: These 2 kernel options are turned on by default in my kernel. Here's snip from .config # CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_VOLUNTARY=y # CONFIG_PREEMPT is not set CONFIG_PREEMPT_BKL=y CONFIG_NUMA=y CONFIG_K8_NUMA=y Does this fix it? --- fs/buffer.c~

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-13 Thread Robert Hancock
Zhao Forrest wrote: These 2 kernel options are turned on by default in my kernel. Here's snip from .config # CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_VOLUNTARY=y # CONFIG_PREEMPT is not set CONFIG_PREEMPT_BKL=y CONFIG_NUMA=y CONFIG_K8_NUMA=y Does this fix it? --- fs/buffer.c~

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-12 Thread Peter Zijlstra
On Thu, 2007-04-12 at 00:55 -0700, Andrew Morton wrote: > On Thu, 12 Apr 2007 09:39:25 +0200 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > On Wed, 2007-04-11 at 15:30 -0700, Andrew Morton wrote: > > > > > There used to be a cond_resched() in invalidate_mapping_pages() which > > > would > > >

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 09:39:25 +0200 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > On Wed, 2007-04-11 at 15:30 -0700, Andrew Morton wrote: > > > There used to be a cond_resched() in invalidate_mapping_pages() which would > > have prevented this, but I rudely removed it to support > >

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-12 Thread Peter Zijlstra
On Wed, 2007-04-11 at 15:30 -0700, Andrew Morton wrote: > There used to be a cond_resched() in invalidate_mapping_pages() which would > have prevented this, but I rudely removed it to support > /proc/sys/vm/drop_caches (which needs to call invalidate_inode_pages() > under spinlock). > > We could

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-12 Thread Zhao Forrest
On 4/11/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: On Wed, 2007-04-11 at 17:53 +0800, Zhao Forrest wrote: > I got some new information: > Before soft lockup message is out, we have: > [EMAIL PROTECTED] home]# cat /proc/slabinfo |grep buffer_head > buffer_head 10927942 10942560120

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-12 Thread Zhao Forrest
On 4/11/07, Peter Zijlstra [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 17:53 +0800, Zhao Forrest wrote: I got some new information: Before soft lockup message is out, we have: [EMAIL PROTECTED] home]# cat /proc/slabinfo |grep buffer_head buffer_head 10927942 10942560120 32

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-12 Thread Peter Zijlstra
On Wed, 2007-04-11 at 15:30 -0700, Andrew Morton wrote: There used to be a cond_resched() in invalidate_mapping_pages() which would have prevented this, but I rudely removed it to support /proc/sys/vm/drop_caches (which needs to call invalidate_inode_pages() under spinlock). We could

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 09:39:25 +0200 Peter Zijlstra [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 15:30 -0700, Andrew Morton wrote: There used to be a cond_resched() in invalidate_mapping_pages() which would have prevented this, but I rudely removed it to support /proc/sys/vm/drop_caches

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-12 Thread Peter Zijlstra
On Thu, 2007-04-12 at 00:55 -0700, Andrew Morton wrote: On Thu, 12 Apr 2007 09:39:25 +0200 Peter Zijlstra [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 15:30 -0700, Andrew Morton wrote: There used to be a cond_resched() in invalidate_mapping_pages() which would have prevented

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Andrew Morton
the bug on the latest kernel, but does any > expert know if this is the known issue in old kernel? Or why > kmem_cache_free occupy CPU for more than 10 seconds? > > Please let me know if you need any information. > > Thanks, > Forrest > --

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Badari Pulavarty
On Wed, 2007-04-11 at 18:10 +0800, Zhao Forrest wrote: > On 4/11/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: > > > I'm confused - which end of ths stack is up? > > > > > > cpuset_exit doesn't call do_exit, rather it's the other > > > way

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Ken Chen
On 4/11/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: On Wed, 2007-04-11 at 17:53 +0800, Zhao Forrest wrote: > I got some new information: > Before soft lockup message is out, we have: > [EMAIL PROTECTED] home]# cat /proc/slabinfo |grep buffer_head > buffer_head 10927942 10942560120

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Chuck Ebbert
Zhao Forrest wrote: > On 4/11/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: >> On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: >> > I'm confused - which end of ths stack is up? >> > >> > cpuset_exit doesn't call do_exit, rather it's the other >> > way around. But put_files_struct doesn't

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Peter Zijlstra
On Wed, 2007-04-11 at 17:53 +0800, Zhao Forrest wrote: > I got some new information: > Before soft lockup message is out, we have: > [EMAIL PROTECTED] home]# cat /proc/slabinfo |grep buffer_head > buffer_head 10927942 10942560120 321 : tunables 32 > 168 : slabdata 341955

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Peter Zijlstra
On Wed, 2007-04-11 at 18:10 +0800, Zhao Forrest wrote: > On 4/11/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: > > > I'm confused - which end of ths stack is up? > > > > > > cpuset_exit doesn't call do_exit, rather it's the other > > > way

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Zhao Forrest
On 4/11/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: > I'm confused - which end of ths stack is up? > > cpuset_exit doesn't call do_exit, rather it's the other > way around. But put_files_struct doesn't call do_exit, > rather do_exit calls

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Peter Zijlstra
On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: > I'm confused - which end of ths stack is up? > > cpuset_exit doesn't call do_exit, rather it's the other > way around. But put_files_struct doesn't call do_exit, > rather do_exit calls __exit_files calls put_files_struct. I'm guessing its

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Zhao Forrest
t does any > expert know if this is the known issue in old kernel? Or why > kmem_cache_free occupy CPU for more than 10 seconds? Sounds like slab corruption. CONFIG_DEBUG_SLAB should tell you more. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Paul Jackson
[] put_files_struct+0x6c/0xc3 [] do_exit+0x2d2/0x8b1 [] cpuset_exit+0x0/0x6c I'm confused - which end of ths stack is up? cpuset_exit doesn't call do_exit, rather it's the other way around. But put_files_struct doesn't call do_exit, rather do_exit calls __exit_files calls put_files_struct.

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Zhao Forrest
issue in old kernel? Or why > kmem_cache_free occupy CPU for more than 10 seconds? Sounds like slab corruption. CONFIG_DEBUG_SLAB should tell you more. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo i

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Pekka Enberg
t know if this is the known issue in old kernel? Or why kmem_cache_free occupy CPU for more than 10 seconds? Sounds like slab corruption. CONFIG_DEBUG_SLAB should tell you more. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED

Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Zhao Forrest
kmem_cache_free occupy CPU for more than 10 seconds? Please let me know if you need any information. Thanks, Forrest -- BUG: soft lockup detected on CPU#1! Call Trace: [] softlockup_tick+0xdb/0xed [] update_process_times+0x42/0x68

Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Zhao Forrest
kmem_cache_free occupy CPU for more than 10 seconds? Please let me know if you need any information. Thanks, Forrest -- BUG: soft lockup detected on CPU#1! Call Trace: IRQ [800b2c93] softlockup_tick+0xdb/0xed [800933df

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Pekka Enberg
if this is the known issue in old kernel? Or why kmem_cache_free occupy CPU for more than 10 seconds? Sounds like slab corruption. CONFIG_DEBUG_SLAB should tell you more. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Zhao Forrest
kmem_cache_free occupy CPU for more than 10 seconds? Sounds like slab corruption. CONFIG_DEBUG_SLAB should tell you more. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Paul Jackson
[80038e33] put_files_struct+0x6c/0xc3 [8001543d] do_exit+0x2d2/0x8b1 [80047932] cpuset_exit+0x0/0x6c I'm confused - which end of ths stack is up? cpuset_exit doesn't call do_exit, rather it's the other way around. But put_files_struct doesn't call do_exit, rather

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Zhao Forrest
in old kernel? Or why kmem_cache_free occupy CPU for more than 10 seconds? Sounds like slab corruption. CONFIG_DEBUG_SLAB should tell you more. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Peter Zijlstra
On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: I'm confused - which end of ths stack is up? cpuset_exit doesn't call do_exit, rather it's the other way around. But put_files_struct doesn't call do_exit, rather do_exit calls __exit_files calls put_files_struct. I'm guessing its

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Zhao Forrest
On 4/11/07, Peter Zijlstra [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: I'm confused - which end of ths stack is up? cpuset_exit doesn't call do_exit, rather it's the other way around. But put_files_struct doesn't call do_exit, rather do_exit calls

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Peter Zijlstra
On Wed, 2007-04-11 at 18:10 +0800, Zhao Forrest wrote: On 4/11/07, Peter Zijlstra [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: I'm confused - which end of ths stack is up? cpuset_exit doesn't call do_exit, rather it's the other way around. But

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Peter Zijlstra
On Wed, 2007-04-11 at 17:53 +0800, Zhao Forrest wrote: I got some new information: Before soft lockup message is out, we have: [EMAIL PROTECTED] home]# cat /proc/slabinfo |grep buffer_head buffer_head 10927942 10942560120 321 : tunables 32 168 : slabdata 341955 341955

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Chuck Ebbert
Zhao Forrest wrote: On 4/11/07, Peter Zijlstra [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: I'm confused - which end of ths stack is up? cpuset_exit doesn't call do_exit, rather it's the other way around. But put_files_struct doesn't call do_exit,

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Ken Chen
On 4/11/07, Peter Zijlstra [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 17:53 +0800, Zhao Forrest wrote: I got some new information: Before soft lockup message is out, we have: [EMAIL PROTECTED] home]# cat /proc/slabinfo |grep buffer_head buffer_head 10927942 10942560120 32

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Badari Pulavarty
On Wed, 2007-04-11 at 18:10 +0800, Zhao Forrest wrote: On 4/11/07, Peter Zijlstra [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: I'm confused - which end of ths stack is up? cpuset_exit doesn't call do_exit, rather it's the other way around. But

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Andrew Morton
any expert know if this is the known issue in old kernel? Or why kmem_cache_free occupy CPU for more than 10 seconds? Please let me know if you need any information. Thanks, Forrest -- BUG: soft lockup detected on CPU#1! Call