tracing/sched: Fix task states in sched switch event
Hi Ingo, Hm, this is totally unreadable. What does 'TASK_STATE_X' mean?? Would this be better? +#define MAKE_TASK_STATE_STRING(num) TASK_STATE_##num " (" DESCR_TASK_STATE_##num ")" static const char *task_state_array[] = { - "R (running)", /* 0 */ - "S (sleeping)", /* 1 */ - "D (disk sleep)", /* 2 *... 13 May 2010 08:16
[RFC,1/7] NUMA Hotplug emulator
x86/E820: add function to hide memory region via e820 table. NUMA hotplug emulator needs to hide memory regions at the very beginning of kernel booting. Then emulator will use these memory regions to fake offlined numa nodes. Signed-off-by: Haicheng Li <haicheng.li(a)linux.intel.com> Signed-off-by: Shaohui Zheng... 13 May 2010 08:16
[PATCH 9/9] ehca: use kvcalloc and kvfree
use kvcalloc and kvfree use kvcalloc and kvfree, but I haven't test it, as I don't have that machine. Signed-off-by: Changli Gao <xiaosuo(a)gmail.com> ---- drivers/infiniband/hw/ehca/ipz_pt_fn.c | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/drivers/infiniband/hw/e... 13 May 2010 08:16
[PATCH 8/9] cxgb3: use kvzalloc and kvfree
use kvzalloc and kvfree use kvzalloc and kvfree Signed-off-by: Changli Gao <xiaosuo(a)gmail.com> ---- drivers/net/cxgb3/cxgb3_defs.h | 2 -- drivers/net/cxgb3/cxgb3_offload.c | 31 ++----------------------------- drivers/net/cxgb3/l2t.c | 4 ++-- 3 files changed, 4 insertions(+), 33 delet... 13 May 2010 08:16
pci: allow sysfs file owner to read device dependent config space
On Thu, May 13, 2010 at 01:56:53PM +0300, Avi Kivity wrote: On 05/13/2010 04:29 AM, Chris Wright wrote: The PCI config space bin_attr read handler has a hardcoded CAP_SYS_ADMIN check to verify privileges before allowing a user to read device dependent config space. This is meant to protect from an unpri... 13 May 2010 07:11
[PATCH] vfs: Fix O_NOFOLLOW behavior for paths with trailing slashes
According to specification mkdir d; ln -s d a; open("a/", O_NOFOLLOW | O_RDONLY) should return success but currently it did return ELOOP. Fix the code to ignore O_NOFOLLOW in case the provided path has trailing slashes. This is a regression caused by path lookup cleanup patch series. CC: stable(a)kernel.org CC: A... 13 May 2010 07:11
[PATCH 4/4] sched: add hooks for workqueue
Concurrency managed workqueue needs to know when workers are going to sleep and waking up, and, when a worker goes to sleep, be able to wake up another worker to maintain adequate concurrency. This patch introduces PF_WQ_WORKER to identify workqueue workers and adds the following two hooks. * wq_worker_waking_u... 13 May 2010 07:11
[PATCH 2/4] sched: implement __set_cpus_allowed()
Concurrency managed workqueue needs to be able to migrate tasks to a cpu which is online but !active for the following two purposes. p1. To guarantee forward progress during cpu down sequence. Each workqueue which could be depended upon during memory allocation has an emergency worker task which is summo... 13 May 2010 07:11
[PATCHSET sched/core] sched: prepare for cmwq
Hello, Ingo, Peter. These four patches are the scheduler modifications necessary for cmwq and contains the following four patches. 0001-sched-consult-online-mask-instead-of-active-in-selec.patch 0002-sched-implement-__set_cpus_allowed.patch 0003-sched-refactor-try_to_wake_up.patch 0004-sched-add-hooks-for... 13 May 2010 07:11
Staging: comedi: Fixed more long line lengths in comedi.h
On Thu, 2010-05-13 at 18:28 +0800, Mark wrote: I'd like to get some feedback on this patch, since I'm not sure this is the best way to fix the long line lengths. --- drivers/staging/comedi/comedi.h | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/sta... 14 May 2010 17:13