linux.kernel - 26 new messages in 23 topics - digest
linux.kernel
http://groups.google.com/group/linux.kernel?hl=en
linux.kernel@googlegroups.com
Today's topics:
* sched: Calculate effective load even if local weight is 0 - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/e4060f4841a17772?hl=en
* arch: Clean up asm/ barrier.h implementations using asm-generic/barrier.h -
1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/1ee502f73a2af4a4?hl=en
* perf ui/tui: Split help message for perf top and report - 2 messages, 1
author
http://groups.google.com/group/linux.kernel/t/3a035d7dee5e7567?hl=en
* sched_clock: Disable seqlock lockdep usage in sched_clock() - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/319d06ce78cc6f61?hl=en
* perf top: Use hist_entry__inc_addr_sample - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/bb59d0eb90da4e18?hl=en
* perf ui browser: Remove misplaced __maybe_unused - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/312749a0698bf518?hl=en
* sched, thermal: Clean up preempt_enable_no_resched() abuse - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/6dd8123c44df12dc?hl=en
* sched/preempt: Fix up missed PREEMPT_NEED_RESCHED folding - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/ce4bd886bfc04e54?hl=en
* x86/irq: Fix do_IRQ() interrupt warning for cpu hotplug retriggered irqs - 1
messages, 1 author
http://groups.google.com/group/linux.kernel/t/33857d87ba514966?hl=en
* locking/doc: Rename LOCK/UNLOCK to ACQUIRE/ RELEASE - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/1e8e365df7e87516?hl=en
* arch: Introduce smp_load_acquire(), smp_store_release() - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/86c5b082062de06c?hl=en
* perf tools: No need to test against NULL before calling free() - 1 messages,
1 author
http://groups.google.com/group/linux.kernel/t/69426257cd64951e?hl=en
* sched, net: Clean up preempt_enable_no_resched() abuse - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/e1ae94c359c2f29c?hl=en
* perf tools: Making QUIET_(CLEAN|INSTAL) variables global - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/3e1aa0b8b884cd89?hl=en
* perf annotate: Make symbol__inc_addr_samples private - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/90ac4abe0917f94a?hl=en
* perf tools: Introduce zfree - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/f973d62ea336172a?hl=en
* perf: Introduce a flag to enable close-on-exec in perf_event_open() - 1
messages, 1 author
http://groups.google.com/group/linux.kernel/t/303ffc0717859375?hl=en
* perf hists: Leave symbol addr hist bucket auto alloc to symbol layer - 1
messages, 1 author
http://groups.google.com/group/linux.kernel/t/67068ed0340bff0e?hl=en
* target/sbc: Add P_TYPE + PROT_EN bits to READ_CAPACITY_16 - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/0f7dabefe93a4442?hl=en
* drm/i2c: tda998x: use irq for connection status and EDID read - 1 messages,
1 author
http://groups.google.com/group/linux.kernel/t/bbeb5edcf598e1bd?hl=en
* Staging: rts5139: rts51x_card: fixed style issues - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/090282464ed3675d?hl=en
* ARM: s3c64xx: pm: Use name field of generic_pm_domain - 3 messages, 2
authors
http://groups.google.com/group/linux.kernel/t/63098c6f35af189c?hl=en
* Drivers: input: serio:hyperv-keyoard: Handle 0xE1 prefix - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/a865a363cbc98a56?hl=en
==============================================================================
TOPIC: sched: Calculate effective load even if local weight is 0
http://groups.google.com/group/linux.kernel/t/e4060f4841a17772?hl=en
==============================================================================
== 1 of 1 ==
Date: Sun, Jan 12 2014 10:50 am
From: tip-bot for Rik van Riel
Commit-ID: 9722c2dac708e9468cc0dc30218ef76946ffbc9d
Gitweb: http://git.kernel.org/tip/9722c2dac708e9468cc0dc30218ef76946ffbc9d
Author: Rik van Riel <riel@redhat.com>
AuthorDate: Mon, 6 Jan 2014 11:39:12 +0000
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Sun, 12 Jan 2014 09:22:15 +0100
sched: Calculate effective load even if local weight is 0
Thomas Hellstrom bisected a regression where erratic 3D performance is
experienced on virtual machines as measured by glxgears. It identified
commit 58d081b5 ("sched/numa: Avoid overloading CPUs on a preferred NUMA
node") as the problem which had modified the behaviour of effective_load.
Effective load calculates the difference to the system-wide load if a
scheduling entity was moved to another CPU. The task group is not heavier
as a result of the move but overall system load can increase/decrease as a
result of the change. Commit 58d081b5 ("sched/numa: Avoid overloading CPUs
on a preferred NUMA node") changed effective_load to make it suitable for
calculating if a particular NUMA node was compute overloaded. To reduce
the cost of the function, it assumed that a current sched entity weight
of 0 was uninteresting but that is not the case.
wake_affine() uses a weight of 0 for sync wakeups on the grounds that it
is assuming the waking task will sleep and not contribute to load in the
near future. In this case, we still want to calculate the effective load
of the sched entity hierarchy. As effective_load is no longer used by
task_numa_compare since commit fb13c7ee (sched/numa: Use a system-wide
search to find swap/migration candidates), this patch simply restores the
historical behaviour.
Reported-and-tested-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Rik van Riel <riel@redhat.com>
[ Wrote changelog]
Signed-off-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20140106113912.GC6178@suse.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
kernel/sched/fair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index c7395d9..e64b079 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -3923,7 +3923,7 @@ static long effective_load(struct task_group *tg, int cpu, long wl, long wg)
{
struct sched_entity *se = tg->se[cpu];
- if (!tg->parent || !wl) /* the trivial, non-cgroup case */
+ if (!tg->parent) /* the trivial, non-cgroup case */
return wl;
for_each_sched_entity(se) {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
==============================================================================
TOPIC: arch: Clean up asm/ barrier.h implementations using asm-generic/barrier.
h
http://groups.google.com/group/linux.kernel/t/1ee502f73a2af4a4?hl=en
==============================================================================
== 1 of 1 ==
Date: Sun, Jan 12 2014 10:50 am
From: tip-bot for Peter Zijlstra
Commit-ID: 93ea02bb84354370e51de803a9405f171f3edf88
Gitweb: http://git.kernel.org/tip/93ea02bb84354370e51de803a9405f171f3edf88
Author: Peter Zijlstra <peterz@infradead.org>
AuthorDate: Wed, 6 Nov 2013 14:57:36 +0100
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Sun, 12 Jan 2014 10:37:15 +0100
arch: Clean up asm/barrier.h implementations using asm-generic/barrier.h
We're going to be adding a few new barrier primitives, and in order to
avoid endless duplication make more agressive use of
asm-generic/barrier.h.
Change the asm-generic/barrier.h such that it allows partial barrier
definitions and fills out the rest with defaults.
There are a few architectures (m32r, m68k) that could probably
do away with their barrier.h file entirely but are kept for now due to
their unconventional nop() implementation.
Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Michael Ellerman <michael@ellerman.id.au>
Cc: Michael Neuling <mikey@neuling.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Victor Kaplansky <VICTORK@il.ibm.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/20131213150640.846368594@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
arch/alpha/include/asm/barrier.h | 25 +++--------
arch/arc/include/asm/Kbuild | 1 +
arch/avr32/include/asm/barrier.h | 17 +++-----
arch/blackfin/include/asm/barrier.h | 18 +-------
arch/cris/include/asm/Kbuild | 1 +
arch/cris/include/asm/barrier.h | 25 -----------
arch/frv/include/asm/barrier.h | 8 +---
arch/hexagon/include/asm/Kbuild | 1 +
arch/m32r/include/asm/barrier.h | 80 +----------------------------------
arch/m68k/include/asm/barrier.h | 14 +-----
arch/microblaze/include/asm/Kbuild | 1 +
arch/microblaze/include/asm/barrier.h | 27 ------------
arch/mn10300/include/asm/Kbuild | 1 +
arch/mn10300/include/asm/barrier.h | 37 ----------------
arch/parisc/include/asm/Kbuild | 1 +
arch/parisc/include/asm/barrier.h | 35 ---------------
arch/score/include/asm/Kbuild | 1 +
arch/score/include/asm/barrier.h | 16 -------
arch/sh/include/asm/barrier.h | 21 ++-------
arch/sparc/include/asm/barrier_32.h | 12 +-----
arch/tile/include/asm/barrier.h | 68 +----------------------------
arch/unicore32/include/asm/barrier.h | 11 +----
arch/xtensa/include/asm/barrier.h | 9 +---
include/asm-generic/barrier.h | 42 ++++++++++++------
24 files changed, 58 insertions(+), 414 deletions(-)
diff --git a/arch/alpha/include/asm/barrier.h b/arch/alpha/include/asm/barrier.h
index ce8860a..3832bdb 100644
--- a/arch/alpha/include/asm/barrier.h
+++ b/arch/alpha/include/asm/barrier.h
@@ -3,33 +3,18 @@
#include <asm/compiler.h>
-#define mb() \
-__asm__ __volatile__("mb": : :"memory")
+#define mb() __asm__ __volatile__("mb": : :"memory")
+#define rmb() __asm__ __volatile__("mb": : :"memory")
+#define wmb() __asm__ __volatile__("wmb": : :"memory")
-#define rmb() \
-__asm__ __volatile__("mb": : :"memory")
-
-#define wmb() \
-__asm__ __volatile__("wmb": : :"memory")
-
-#define read_barrier_depends() \
-__asm__ __volatile__("mb": : :"memory")
+#define read_barrier_depends() __asm__ __volatile__("mb": : :"memory")
#ifdef CONFIG_SMP
#define __ASM_SMP_MB "\tmb\n"
-#define smp_mb() mb()
-#define smp_rmb() rmb()
-#define smp_wmb() wmb()
-#define smp_read_barrier_depends() read_barrier_depends()
#else
#define __ASM_SMP_MB
-#define smp_mb() barrier()
-#define smp_rmb() barrier()
-#define smp_wmb() barrier()
-#define smp_read_barrier_depends() do { } while (0)
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home