Skip to content
  1. Feb 04, 2011
    • Maciej Sosnowski's avatar
      RDMA/nes: Don't generate async events for unregistered devices · 25a54a6b
      Maciej Sosnowski authored
      
      
      nes_port_ibevent() should not be called when the nes RDMA device is not
      registered with the RDMA core.  Add missing checks of of_device_registered flag.
      
      Signed-off-by: default avatarMaciej Sosnowski <maciej.sosnowski@intel.com>
      Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
      25a54a6b
    • Suresh Siddha's avatar
      x86, mm: avoid possible bogus tlb entries by clearing prev mm_cpumask after switching mm · 831d52bc
      Suresh Siddha authored
      
      
      Clearing the cpu in prev's mm_cpumask early will avoid the flush tlb
      IPI's while the cr3 is still pointing to the prev mm.  And this window
      can lead to the possibility of bogus TLB fills resulting in strange
      failures.  One such problematic scenario is mentioned below.
      
       T1. CPU-1 is context switching from mm1 to mm2 context and got a NMI
           etc between the point of clearing the cpu from the mm_cpumask(mm1)
           and before reloading the cr3 with the new mm2.
      
       T2. CPU-2 is tearing down a specific vma for mm1 and will proceed with
           flushing the TLB for mm1.  It doesn't send the flush TLB to CPU-1
           as it doesn't see that cpu listed in the mm_cpumask(mm1).
      
       T3. After the TLB flush is complete, CPU-2 goes ahead and frees the
           page-table pages associated with the removed vma mapping.
      
       T4. CPU-2 now allocates those freed page-table pages for something
           else.
      
       T5. As the CR3 and TLB caches for mm1 is still active on CPU-1, CPU-1
           can potentially speculate and walk through the page-table caches
           and can insert new TLB entries.  As the page-table pages are
           already freed and being used on CPU-2, this page walk can
           potentially insert a bogus global TLB entry depending on the
           (random) contents of the page that is being used on CPU-2.
      
       T6. This bogus TLB entry being global will be active across future CR3
           changes and can result in weird memory corruption etc.
      
      To avoid this issue, for the prev mm that is handing over the cpu to
      another mm, clear the cpu from the mm_cpumask(prev) after the cr3 is
      changed.
      
      Marking it for -stable, though we haven't seen any reported failure that
      can be attributed to this.
      
      Signed-off-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
      Acked-by: default avatarIngo Molnar <mingo@elte.hu>
      Cc: stable@kernel.org	[v2.6.32+]
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      831d52bc
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · 9118626a
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
        RDMA: Update missed conversion of flush_scheduled_work()
        RDMA/ucma: Copy iWARP route information on queries
        RDMA/amso1100: Fix compile warnings
        RDMA/cxgb4: Set the correct device physical function for iWARP connections
        RDMA/cxgb4: Limit MAXBURST EQ context field to 256B
        IB/qib: Hold link for TX SERDES settings
        mlx4_core: Add ConnectX-3 device IDs
      9118626a
    • Linus Torvalds's avatar
      Merge branch 'irq-fixes-for-linus' of... · aba99437
      Linus Torvalds authored
      Merge branch 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        genirq: Prevent irq storm on migration
      aba99437
    • Linus Torvalds's avatar
      Merge branch 'sched-fixes-for-linus' of... · 49abda98
      Linus Torvalds authored
      Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        sched: Fix update_curr_rt()
        sched, docs: Update schedstats documentation to version 15
      49abda98
    • Linus Torvalds's avatar
      Merge branch 'perf-fixes-for-linus' of... · eb487ab4
      Linus Torvalds authored
      Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        perf: Fix reading in perf_event_read()
        watchdog: Don't change watchdog state on read of sysctl
        watchdog: Fix sysctl consistency
        watchdog: Fix broken nowatchdog logic
        perf: Fix Pentium4 raw event validation
        perf: Fix alloc_callchain_buffers()
      eb487ab4
  2. Feb 03, 2011
  3. Feb 02, 2011
  4. Feb 01, 2011
    • Javi Merino's avatar
      sched, docs: Update schedstats documentation to version 15 · 1e1dbb25
      Javi Merino authored
      Version 15 of schedstats was introduced in:
      
         67aa0f76
      
      : sched: remove unused fields from struct rq
      
      and removed three unused counters in sched_yield(). Update
      the documentation.
      
      Signed-off-by: default avatarJavi Merino <cibervicho@gmail.com>
      Cc: henrix@sapo.pt
      Cc: rdunlap@xenotime.net
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Mike Galbraith <efault@gmx.de>
      LKML-Reference: <1296515496-8229-1-git-send-email-cibervicho@gmail.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      1e1dbb25
    • Linus Torvalds's avatar
      Linux 2.6.38-rc3 · ebf53826
      Linus Torvalds authored
      v2.6.38-rc3
      ebf53826
    • Linus Torvalds's avatar
      Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 · 0fd08c55
      Linus Torvalds authored
      * 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
        NFS: NFSv4 readdir loses entries
        NFS: Micro-optimize nfs4_decode_dirent()
        NFS: Fix an NFS client lockdep issue
        NFS construct consistent co_ownerid for v4.1
        NFS: nfs_wcc_update_inode() should set nfsi->attr_gencount
        NFS improve pnfs_put_deviceid_cache debug print
        NFS fix cb_sequence error processing
        NFS do not find client in NFSv4 pg_authenticate
        NLM: Fix "kernel BUG at fs/lockd/host.c:417!" or ".../host.c:283!"
        NFS: Prevent memory allocation failure in nfsacl_encode()
        NFS: nfsacl_{encode,decode} should return signed integer
        NFS: Fix "kernel BUG at fs/nfs/nfs3xdr.c:1338!"
        NFS: Fix "kernel BUG at fs/aio.c:554!"
        NFS4: Avoid potential NULL pointer dereference in decode_and_add_ds().
        NFS: fix handling of malloc failure during nfs_flush_multi()
      0fd08c55
    • Jeff Layton's avatar
      cifs: fix length checks in checkSMB · 6284644e
      Jeff Layton authored
      
      
      The cERROR message in checkSMB when the calculated length doesn't match
      the RFC1001 length is incorrect in many cases. It always says that the
      RFC1001 length is bigger than the SMB, even when it's actually the
      reverse.
      
      Fix the error message to say the reverse of what it does now when the
      SMB length goes beyond the end of the received data. Also, clarify the
      error message when the RFC length is too big. Finally, clarify the
      comments to show that the 512 byte limit on extra data at the end of
      the packet is arbitrary.
      
      Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      6284644e
    • Linus Torvalds's avatar
      Merge branch 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm · 7921127e
      Linus Torvalds authored
      * 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm:
        ARM: smp_on_up: allow non-ARM SMP processors
        ARM: io: ensure inb/outb() et.al. are properly ordered on ARMv6+
        ARM: initrd: disable initrd if passed address overlaps reserved region
        ARM: footbridge: fix debug macros
        ARM: mmci: round down the bytes transferred on error
        ARM: mmci: complete the transaction on error
        ARM: 6642/1: mmci: calculate remaining bytes at error correctly
      7921127e
    • Linus Torvalds's avatar
      Merge branch 'omap-fixes-for-linus' of... · 35a8524f
      Linus Torvalds authored
      Merge branch 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
      
      * 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6:
        arch/arm/mach-omap2/dma.c: Convert IS_ERR result to PTR_ERR
        arm: omap2: mux: fix compile warning
        omap1: Simplify use of omap_irq_flags
        omap2+: Fix unused variable warning for omap_irq_base
      35a8524f