rwsem: use single atomic update for sem count when waking up readers.
Michel Lespinasse <walken(a)google.com> wrote: - * - there must be someone on the queue + * - there must be someone on the queue Why did you change this comment? This is still a guarantee up_xxxx() must make about the state of the rwsem. + waiter = list_entry(sem->wait_list.next, struct rwsem_waiter, ... 12 May 2010 08:02
[RESEND] Handle instruction cache maintenance fault properly
On Tue, 2010-05-11 at 11:33 +0100, Kirill A. Shutemov wrote: Between "clean D line..." and "invalidate I line" operations in v7_coherent_user_range(), the memory page may get swapped out. And the fault on "invalidate I line" could not be properly handled causing the oops. In ARMv6 "external abort on ... 14 May 2010 10:35
rwsem: test for no active locks in __rwsem_do_wake undo code
Michel Lespinasse <walken(a)google.com> wrote: If there are no active threasd using a semaphore, it is always correct to unqueue blocked threads. This seems to be what was intended in the undo code. What was done instead, was to look for a sem count of zero - this is an impossible situation, given that ... 12 May 2010 06:57
[PATCH] rwsem: Test for no active locks in __rwsem_do_wake undo code
From: Michel Lespinasse <walken(a)google.com> If there are no active threasd using a semaphore, it is always correct to unqueue blocked threads. This seems to be what was intended in the undo code. What was done instead, was to look for a sem count of zero - this is an impossible situation, given that at least o... 12 May 2010 06:57
2.6.33.2 kmalloc-8 slab leaks ~512 objects per second
Hi all, As the subject says, is this a know issue? I have been tracking the growth at one second intervals and it looks like this: 512 (67716608) Slab: 606744 kB 512 (67717120) Slab: 606752 kB 512 (67717632) Slab: 606756 kB 0 (67718144) Slab: 606756 kB 512 (6... 26 May 2010 13:35
vhost: fix barrier pairing
"Michael S. Tsirkin" <mst(a)redhat.com> wrote: According to memory-barriers.txt, an smp memory barrier should always be paired with another smp memory barrier, and I quote "a lack of appropriate pairing is almost certainly an error". In case of vhost, failure to flush out used index update before loo... 12 May 2010 05:53
[tip:irq/core] genirq: Clear CPU mask in affinity_hint when none is provided
Commit-ID: 4308ad801193f14ff42cb746da37cf07e35f0d08 Gitweb: http://git.kernel.org/tip/4308ad801193f14ff42cb746da37cf07e35f0d08 Author: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr(a)intel.com> AuthorDate: Wed, 5 May 2010 13:56:42 -0700 Committer: Thomas Gleixner <tglx(a)linutronix.de> CommitDate: Wed, 12 May... 12 May 2010 05:53
[PATCH] sysctl: Allow non-root to read mmap_min_addr value
Although /proc/sys/vm/mmap_min_addr has 644 permissions a read call returns -EPERM. Allow any user to read the mmap_min_addr value. Signed-off-by: Adam Lackorzynski <adam(a)os.inf.tu-dresden.de> --- security/min_addr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/security/min_addr.c... 12 May 2010 05:53
[PATCH 3/4] replace the old non generic API
From: Stefani Seibold <stefani(a)seibold.net> This patch simple replace the whole kfifo.c and kfifo.h files by the new generic version and fix the kerneldoc API template file. Signed-off-by: Stefani Seibold <stefani(a)seibold.net> --- Documentation/DocBook/kernel-api.tmpl | 1 - include/linux/{kfifo-new.h =>... 12 May 2010 05:53
cpuset,mm: fix no node to alloc memory when changing cpuset's mems - fix2
on 2010-5-12 12:32, Andrew Morton wrote: On Wed, 12 May 2010 15:20:51 +0800 Miao Xie <miaox(a)cn.fujitsu.com> wrote: @@ -985,6 +984,7 @@ repeat: * for the read-side. */ while (ACCESS_ONCE(tsk->mems_allowed_change_disable)) { + task_unlock(tsk); if (!task_curr(tsk)) yield... 17 May 2010 00:30