cfq-iosched: Fix the incorrect timeslice accounting with forced_dispatch.
On Thu, Apr 08 2010, Divyesh Shah wrote: When CFQ dispatches requests forcefully due to a barrier or changing iosched, it runs through all cfqq's dispatching requests and then expires each queue. However, it does not activate a cfqq before flushing its IOs resulting in using stale values for computing slice... 9 Apr 2010 04:32
mm: Make use of the anon_vma ref count
Hi, On Thu, Apr 08, 2010 at 09:17:42PM +0200, Peter Zijlstra wrote: @@ -302,23 +307,33 @@ again: goto out; anon_vma = (struct anon_vma *) (anon_mapping - PAGE_MAPPING_ANON); - spin_lock(&anon_vma->lock); + if (!atomic_inc_not_zero(&anon_vma->ref)) + anon_vma = NULL; if (page_... 9 Apr 2010 06:42
re-adding clocksource_get_next ?
Hello! this function was removed in the past but I've not clear all the details. While testing LLTng, I wrote the patch, in attachment, that re-adds it again. The clocksource_get_next returns the first clock source available (without looking at the rating). In my environment, a clock source is a TMU channel (e.g.... 13 Apr 2010 01:51
powerpc: enabled asymmetric SMT scheduling on POWER7
In message <20100409062118.F04B4CBB70(a)localhost.localdomain> you wrote: The POWER7 core has dynamic SMT mode switching which is controlled by the hypervisor. There are 3 SMT modes: SMT1 uses thread 0 SMT2 uses threads 0 & 1 SMT4 uses threads 0, 1, 2 & 3 When in any particular SMT mode, all th... 9 Apr 2010 03:26
slab: fix caller tracking on !CONFIG_DEBUG_SLAB && CONFIG_TRACING
On 04/09/2010 03:12 AM, David Rientjes wrote: On Thu, 8 Apr 2010, Xiaotian Feng wrote: diff --git a/include/linux/slab.h b/include/linux/slab.h index 4884462..1a0625c 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h @@ -267,7 +267,7 @@ static inline void *kmem_cache_alloc_node(stru... 9 Apr 2010 03:26
memcg: update documentation v4
On Fri, 9 Apr 2010 13:45:53 +0900, KAMEZAWA Hiroyuki <kamezawa.hiroyu(a)jp.fujitsu.com> wrote: Thank you all. == Documentation update. Some information are old, and I think current documentation doesn't work as "a guide for users". We need summary of all of our controls, at least. Change... 9 Apr 2010 13:23
[PATCH 3/5] powerpc: enabled asymmetric SMT scheduling on POWER7
The POWER7 core has dynamic SMT mode switching which is controlled by the hypervisor. There are 3 SMT modes: SMT1 uses thread 0 SMT2 uses threads 0 & 1 SMT4 uses threads 0, 1, 2 & 3 When in any particular SMT mode, all threads have the same performance as each other (ie. at any moment in time, all threads pe... 9 Apr 2010 03:26
[PATCH 4/5] sched: Mark the balance type for use in need_active_balance()
need_active_balance() gates the asymmetric packing based due to power save logic, but for packing we don't care. This marks the type of balanace we are attempting to do perform from f_b_g() and stops need_active_balance() power save logic gating a balance in the asymmetric packing case. Signed-off-by: Michael ... 9 Apr 2010 03:26
[PATCH 1/5] sched: fix capacity calculations for SMT4
When calculating capacity we use the following calculation: capacity = DIV_ROUND_CLOSEST(power, SCHED_LOAD_SCALE); In SMT2, power will be 1178/2 (provided we are not scaling power with freq say) and SCHED_LOAD_SCALE will be 1024, resulting in capacity being 1. With SMT4 however, power will be 1178/4, ... 9 Apr 2010 03:26
[PATCH 5/5] sched: make fix_small_imbalance work with asymmetric packing
With the asymmetric packing infrastructure, fix_small_imbalance is causing idle higher threads to pull tasks off lower threads. This is being caused by an off-by-one error. Signed-off-by: Michael Neuling <mikey(a)neuling.org> --- I'm not sure this is the right fix but without it, higher threads pull tasks o... 9 Apr 2010 03:26