drivers:staging: sources for HCI LL PM protocol
+static struct ll_struct_s *ll; More magic globals. I think this more than anything else demonstrates why you need some kind of proper per device context passed around -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majo... 30 Mar 2010 08:19
[PATCH 27/29] x86: Make e820_any_mapped to __init
We don't need to expose e820_any_mapped anymore Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/kernel/e820.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index be6e1e6..471784b 100644 --- a/arch/x86/kernel/e820.c +... 30 Mar 2010 08:18
[PATCH 15/29] lmb: Add lmb_reserve_area_overlap_ok()
Some areas from firmware could be reserved several times from different callers. If these area are overlapped, We may have overlapped entries in lmb.reserved. Try to free the area at first, before rerserve them again. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- include/linux/lmb.h | 1 + mm/lmb.c... 30 Mar 2010 08:18
[PATCH -v10 00/29] use lmb with x86
the new lmb could be used to early_res in x86. Suggested by: David, Ben, and Thomas First one should go into 2.6.34 -v6: change sequence as requested by Thomas -v7: seperate them to more patches -v8: add boundary checking to make sure not free partial page. -v9: use lmb_debug to control print out of reserve... 30 Mar 2010 08:18
drivers:staging: sources for ST core
> +/* all debug macros go in here */ +#define ST_DRV_ERR(fmt, arg...) printk(KERN_ERR "(stc):"fmt"\n" , ## arg) +#if defined(DEBUG) /* limited debug messages */ +#define ST_DRV_DBG(fmt, arg...) printk(KERN_INFO "(stc):"fmt"\n" , ## arg) +#define ST_DRV_VER(fmt, arg...) +#elif defined(VERBOSE) /* very... 27 Apr 2010 13:19
[PATCH] rcu: more careful check for the last non-dyntick-idle CPU
Warning: I just did build test. Subject: [PATCH] rcu: more careful check for the last non-dyntick-idle CPU If a CPU is not in nohz_cpu_mask, it does not means this CPU is a non-dyntick-idle CPU, because this CPU may be offline or not exist. Signed-off-by: Lai Jiangshan <laijs(a)cn.fujitsu.com> --- diff --git ... 30 Mar 2010 07:13
procfs: Use generic_file_llseek in /proc/vmcore
On Tuesday 30 March 2010, Frederic Weisbecker wrote: /proc/vmcore has no llseek and then falls down to use default_llseek. This is racy against read_vmcore() that directly manipulates fpos but it doesn't hold the bkl there so using it in llseek doesn't protect anything. Let's use generic_file_llseek(... 30 Mar 2010 07:13
procfs: Use generic_file_llseek in /proc/kmsg
On Tuesday 30 March 2010, Frederic Weisbecker wrote: No need to hold the bkl to seek here, none of the other fops callbacks use it. Use generic_file_llseek explicitly. Acked-by: Arnd Bergmann <arnd(a)arndb.de> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a... 30 Mar 2010 07:13
procfs: Use generic_file_llseek in /proc/kcore
On Tuesday 30 March 2010, Frederic Weisbecker wrote: /proc/kcore has no llseek and then falls down to use default_llseek. This is racy against read_kcore() that directly manipulates fpos but it doesn't hold the bkl there so using it in llseek doesn't protect anything. Acked-by: Arnd Bergmann <arnd(a)arndb.... 30 Mar 2010 07:13
[PATCH] rcu: only raise softirq when need
I found something RCU_SOFTIRQ are called without do any thing. (use function_graph to find it: 1) | rcu_process_callbacks() { 1) | __rcu_process_callbacks() { 1) 0.634 us | rcu_process_gp_end(); 1) 0.487 us | check_for_new_grace_period(); 1) 2.672 us ... 30 Mar 2010 07:13