sequence lock in Linux
Hi Paul, (CCing lkml) Is it just me, or the following code: static __always_inline unsigned read_seqbegin(const seqlock_t *sl) { unsigned ret; repeat: ret = sl->sequence; smp_rmb(); if (unlikely(ret & 1)) { cpu_relax(); goto repeat; ... 11 Jun 2010 19:15
Btrfs updates for 2.6.35
On Fri, Jun 11, 2010 at 12:37 PM, Chris Mason <chris.mason(a)oracle.com> wrote: The master branch of the btrfs-unstable tree is a collection of fixes and cleanups, including two btrfs regressions from rc1: Ok, no pulling then. See all the millions of threads how I wanted only critical fixes for -rc3 since I'... 15 Jun 2010 07:35
fs: make sure to invalidate pages if we fall back on buffered reads
Josef Bacik <josef(a)redhat.com> writes: Since BTRFS can fallback on buffered reads after having done some direct reads, we need to make sure to invalidate any pages that we may have read by doing buffered IO. This shouldn't have shown up as a visible user problem, it's just for correctness sake. Thanks, ... 11 Jun 2010 15:54
floppy: use single threaded workqueue
On Fri, Jun 11, 2010 at 10:32 AM, Stephen Hemminger <shemminger(a)vyatta.com> wrote: Fix races between timers and bottom half by using delayed work and a single threaded queue. Still needs more testing. Looks simple and straightforward to me. Ack. (And ack on the "needs more testing" part too, of course)... 11 Jun 2010 15:54
compat-wireless based on 2.6.35-rc2 pushed out
Its on the stable page now: http://wireless.kernel.org/en/users/Download/stable tarball: http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.35/compat-wireless-2.6.35-rc2.tar.bz2 sha1sum: 6b2f040c965bffd4a659a7f4771832a9b7b568e5 ChangeLog: http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v... 11 Jun 2010 14:48
Fix a race in pid generation that causes pids to be reused
> Isn't: return a - base < b - base, the natural way to express this? Quite right. I see people managed to figure it out, but my, what a lot of angst over something so familiar to any network hacker trying to figure out if a received sequence number is in the receive window or not. See include/net/tcp.h: 26... 11 Jun 2010 14:48
[PATCH] Alternate fix for ia64 tiger_defconfig build breakage
Offered as an alternative to Tony's in-line #ifdefs to address the ia64 non-numa build breakage. Lee ----------------------------------- Define stubs for the numa_*_id() generic percpu related functions for non-NUMA configurations in <asm-generic/topology.h> where the other non-numa stubs live. Fixes ia6... 11 Jun 2010 14:48
[PATCH 6/5] fix the racy usage of thread_group_cputimer() in fastpath_timer_check()
fastpath_timer_check()->thread_group_cputimer() is racy and unneeded. It is racy because another thread can clear ->running before thread_group_cputimer() takes cputimer->lock. In this case thread_group_cputimer() will set ->running = true again and call thread_group_cputime(). But since we do not hold tasklist ... 11 Jun 2010 14:48
fix the racy usage of thread_group_cputimer() in fastpath_timer_check()
On 06/11, Oleg Nesterov wrote: fastpath_timer_check()->thread_group_cputimer() is racy and unneeded. Just in case... this fix doesn't depend on other patches I sent. It is racy because another thread can clear ->running before thread_group_cputimer() takes cputimer->lock. In this case thread_grou... 11 Jun 2010 14:48
[PATCH] um: call free_irq() only on enabled channels
When I use OpenSUSE-11.2 on UML (> 2.6.25) I get lots of such errors: Registering fd 1 twice Irqs : 3, 3 Ids : 0x09cb41a0, 0x09cb4120 ------------[ cut here ]------------ WARNING: at kernel/irq/manage.c:896 __free_irq+0x79/0x11a() Trying to free already-free IRQ 3 Modules linked in: 09dadc6c: [<081b2edb>] d... 11 Jun 2010 14:48