[git pull] fix for nasty races in br_write_lock()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	There's a nasty race between CPU hotplug and br_write_lock();
the latter pretty much assumes that the set of online CPUs can't change
between br_write_lock() and br_write_unlock().  Caught by Cong Meng,
solution hashed out during the last few days between me and Srivatsa S. Bhat
on l-k/fsdevel thread, appears to fix the problem in a reasonably sane
way.  It'll need to go into -stable as well; all branches since 2.6.36.
Please, pull from the usual place;
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

Shortlog:
Srivatsa S. Bhat (1):
      VFS: Fix race between CPU hotplug and lglocks

Diffstat:
 include/linux/lglock.h |   36 ++++++++++++++++++++++++++++++++----
 1 files changed, 32 insertions(+), 4 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux