set_cpus_allowed_ptr: don't use rq->migration_thread after unlock
On Tue, 2010-03-30 at 18:58 +0200, Oleg Nesterov wrote: Trivial typo fix. rq->migration_thread can be NULL after task_rq_unlock(), this is why we have "mt" which should be used instead. Signed-off-by: Oleg Nesterov <oleg(a)redhat.com> Thanks! -- To unsubscribe from this list: send the line "unsubscrib... 30 Mar 2010 13:52
squashfs: gather everything block device specific into block.c
--- I lost this free somehow. Does squashfs_put_super() need protection from multiple invocation? If not, this kfree could be removed from there, and the condition from both places. fs/squashfs/backend.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/fs/squashfs/backend.c b/fs/s... 30 Mar 2010 13:52
ath: fix code readability in regd.c
On Tue, Mar 30, 2010 at 08:44:33AM -0700, Luis de Bethencourt wrote: This is a patch to the ath/regd.c file that fixes two code readability issues. A space between to separate two defines and the indentation inside the ath_redg_is_eeprom_valid function. Acked-by: Luis R. Rodriguez <lrodriguez(a)atheros.com... 30 Mar 2010 13:52
[PATCH] Fix staging:iio:ring_sw: Fix incorrect test on successful read of last value, causes infinite loop
Signed-off-by: Jonathan Cameron <jic23(a)cam.ac.uk> --- This is a bad one. The test means that almost no reads of the last value ever succeed! Result is an infinite loop. Another one for the 'oops' category. Patch is post the spin lock fix: [PATCH] Staging: IIO: Fix uses of spinlocks prior to init in ... 30 Mar 2010 13:52
[PATCH] oom: fix the unsafe proc_oom_score()->badness() call
proc_oom_score(task) have a reference to task_struct, but that is all. If this task was already released before we take tasklist_lock - we can't use task->group_leader, it points to nowhere - it is not safe to call badness() even if this task is ->group_leader, has_intersects_mems_allowed() assumes it ... 30 Mar 2010 13:52
[patch v2] s390: potential buffer overflow
"len" hasn't been properly range checked so we shouldn't use it as an array offset. This can only be written to by root but it would still be annoying to accidentally write more than 3 characters and corrupt your memory. Signed-off-by: Dan Carpenter <error27(a)gmail.com> --- v2. Removed a superfluous chunk from... 30 Mar 2010 13:52
rcu: only raise softirq when need
On Tue, Mar 30, 2010 at 06:11:55PM +0800, Lai Jiangshan wrote: 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()... 31 Mar 2010 12:06
s390: potential buffer overflow
Dan Carpenter <error27(a)gmail.com> writes: "len" hasn't been properly range checked so we shouldn't use it as an array offset. This can only be written to by root but it would still be annoying to accidentally write more than 3 characters and corrupt your memory. Signed-off-by: Dan Carpenter <error2... 30 Mar 2010 12:45
rcu: more careful check for the last non-dyntick-idle CPU
On Tue, Mar 30, 2010 at 06:40:36PM +0800, Lai Jiangshan wrote: 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 exi... 30 Mar 2010 12:45
[PATCH 2/3] squashfs: gather everything block device specific into block.c
We use buffer_head structures for communicating with the decompressors, so provide a basic definition even if CONFIG_BLOCK=n (which results in a backendless - ie. useless - squashfs right now). --- fs/squashfs/Kconfig | 1 - fs/squashfs/Makefile | 5 +++-- fs/squashfs/backend.c | 48 +++++++++++++++... 30 Mar 2010 10:31