Re: [PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2013-04-27 Thread Simon Jeons
Hi Michal, On 12/19/2012 12:11 AM, Michal Hocko wrote: Since e303297 (mm: extended batches for generic mmu_gather) we are batching pages to be freed until either tlb_next_batch cannot allocate a new batch or we are done. Is there material introduce mmu_gather? This works just fine most of

Re: [PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2013-04-27 Thread Simon Jeons
Hi Michal, On 12/19/2012 12:11 AM, Michal Hocko wrote: Since e303297 (mm: extended batches for generic mmu_gather) we are batching pages to be freed until either tlb_next_batch cannot allocate a new batch or we are done. Is there material introduce mmu_gather? This works just fine most of

Re: [PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2012-12-18 Thread Michal Hocko
On Tue 18-12-12 14:02:19, Andrew Morton wrote: > On Tue, 18 Dec 2012 17:11:28 +0100 > Michal Hocko wrote: > > > Since e303297 (mm: extended batches for generic mmu_gather) we are batching > > pages to be freed until either tlb_next_batch cannot allocate a new batch > > or we > > are done. > >

Re: [PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2012-12-18 Thread Andrew Morton
On Wed, 19 Dec 2012 00:50:42 +0100 Michal Hocko wrote: > On Tue 18-12-12 14:02:19, Andrew Morton wrote: > > On Tue, 18 Dec 2012 17:11:28 +0100 > > Michal Hocko wrote: > > > > > Since e303297 (mm: extended batches for generic mmu_gather) we are > > > batching > > > pages to be freed until

Re: [PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2012-12-18 Thread Andrew Morton
On Tue, 18 Dec 2012 17:11:28 +0100 Michal Hocko wrote: > Since e303297 (mm: extended batches for generic mmu_gather) we are batching > pages to be freed until either tlb_next_batch cannot allocate a new batch or > we > are done. > > This works just fine most of the time but we can get in

Re: [PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2012-12-18 Thread Rik van Riel
On 12/18/2012 11:11 AM, Michal Hocko wrote: Since e303297 (mm: extended batches for generic mmu_gather) we are batching pages to be freed until either tlb_next_batch cannot allocate a new batch or we are done. This works just fine most of the time but we can get in troubles with non-preemptible

Re: [PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2012-12-18 Thread Rik van Riel
On 12/18/2012 11:11 AM, Michal Hocko wrote: Since e303297 (mm: extended batches for generic mmu_gather) we are batching pages to be freed until either tlb_next_batch cannot allocate a new batch or we are done. This works just fine most of the time but we can get in troubles with non-preemptible

Re: [PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2012-12-18 Thread Andrew Morton
On Tue, 18 Dec 2012 17:11:28 +0100 Michal Hocko mho...@suse.cz wrote: Since e303297 (mm: extended batches for generic mmu_gather) we are batching pages to be freed until either tlb_next_batch cannot allocate a new batch or we are done. This works just fine most of the time but we can get

Re: [PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2012-12-18 Thread Andrew Morton
On Wed, 19 Dec 2012 00:50:42 +0100 Michal Hocko mho...@suse.cz wrote: On Tue 18-12-12 14:02:19, Andrew Morton wrote: On Tue, 18 Dec 2012 17:11:28 +0100 Michal Hocko mho...@suse.cz wrote: Since e303297 (mm: extended batches for generic mmu_gather) we are batching pages to be

Re: [PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2012-12-18 Thread Michal Hocko
On Tue 18-12-12 14:02:19, Andrew Morton wrote: On Tue, 18 Dec 2012 17:11:28 +0100 Michal Hocko mho...@suse.cz wrote: Since e303297 (mm: extended batches for generic mmu_gather) we are batching pages to be freed until either tlb_next_batch cannot allocate a new batch or we are done.