Skip to content
  1. Jun 30, 2017
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.dk/linux-block · 374bf883
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Two fixes that should go into this release.
      
        One is an nvme regression fix from Keith, fixing a missing queue
        freeze if the controller is being reset. This causes the reset to
        hang.
      
        The other is a fix for a leak of the bio protection info, if smaller
        sized O_DIRECT is used. This fix should be more involved as we have
        other problematic paths in the kernel, but given as this isn't a
        regression in this series, we'll tackle those for 4.13"
      
      * 'for-linus' of git://git.kernel.dk/linux-block:
        block: provide bio_uninit() free freeing integrity/task associations
        nvme/pci: Fix stuck nvme reset
      374bf883
  2. Jun 29, 2017
    • Tobias Klauser's avatar
      arch: remove unused macro/function thread_saved_pc() · 6474924e
      Tobias Klauser authored
      
      
      The only user of thread_saved_pc() in non-arch-specific code was removed
      in commit 8243d559 ("sched/core: Remove pointless printout in
      sched_show_task()").  Remove the implementations as well.
      
      Some architectures use thread_saved_pc() in their arch-specific code.
      Leave their thread_saved_pc() intact.
      
      Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
      Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Cc: Ingo Molnar <mingo@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6474924e
    • Jens Axboe's avatar
      block: provide bio_uninit() free freeing integrity/task associations · 9ae3b3f5
      Jens Axboe authored
      
      
      Wen reports significant memory leaks with DIF and O_DIRECT:
      
      "With nvme devive + T10 enabled, On a system it has 256GB and started
      logging /proc/meminfo & /proc/slabinfo for every minute and in an hour
      it increased by 15968128 kB or ~15+GB.. Approximately 256 MB / minute
      leaking.
      
      /proc/meminfo | grep SUnreclaim...
      
      SUnreclaim:      6752128 kB
      SUnreclaim:      6874880 kB
      SUnreclaim:      7238080 kB
      ....
      SUnreclaim:     22307264 kB
      SUnreclaim:     22485888 kB
      SUnreclaim:     22720256 kB
      
      When testcases with T10 enabled call into __blkdev_direct_IO_simple,
      code doesn't free memory allocated by bio_integrity_alloc. The patch
      fixes the issue. HTX has been run with +60 hours without failure."
      
      Since __blkdev_direct_IO_simple() allocates the bio on the stack, it
      doesn't go through the regular bio free. This means that any ancillary
      data allocated with the bio through the stack is not freed. Hence, we
      can leak the integrity data associated with the bio, if the device is
      using DIF/DIX.
      
      Fix this by providing a bio_uninit() and export it, so that we can use
      it to free this data. Note that this is a minimal fix for this issue.
      Any current user of bio's that are allocated outside of
      bio_alloc_bioset() suffers from this issue, most notably some drivers.
      We will fix those in a more comprehensive patch for 4.13. This also
      means that the commit marked as being fixed by this isn't the real
      culprit, it's just the most obvious one out there.
      
      Fixes: 542ff7bf ("block: new direct I/O implementation")
      Reported-by: default avatarWen Xiong <wenxiong@linux.vnet.ibm.com>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      9ae3b3f5
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-4.12-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · e547204f
      Linus Torvalds authored
      Pull NFS client bugfixes from Trond Myklebust:
       "Bugfixes include:
      
         - stable fix for exclusive create if the server supports the umask
           attribute
      
         - trunking detection should handle ERESTARTSYS/EINTR
      
         - stable fix for a race in the LAYOUTGET function
      
         - stable fix to revert "nfs_rename() handle -ERESTARTSYS dentry left
           behind"
      
         - nfs4_callback_free_slot() cannot call nfs4_slot_tbl_drain_complete()"
      
      * tag 'nfs-for-4.12-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
        NFSv4.1: nfs4_callback_free_slot() cannot call nfs4_slot_tbl_drain_complete()
        Revert "NFS: nfs_rename() handle -ERESTARTSYS dentry left behind"
        NFSv4.1: Fix a race in nfs4_proc_layoutget
        NFS: Trunking detection should handle ERESTARTSYS/EINTR
        NFSv4.2: Don't send mode again in post-EXCLUSIVE4_1 SETATTR with umask
      e547204f
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 5a37be4b
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "This is the final set of fixes for -rc8, just a few i915 and one
        vmwgfx ones.
      
        I'm off on holidays for a week, so if anything shows up for fixes I've
        asked Daniel or Sean Paul to herd it in the right direction"
      
      [ The additional etnaviv fixes were already herded towards me as seen in
        my previous pull - Linus ]
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/vmwgfx: Free hash table allocated by cmdbuf managed res mgr
        drm/i915: Disable EXEC_OBJECT_ASYNC when doing relocations
        drm/i915: Hold struct_mutex for per-file stats in debugfs/i915_gem_object
        drm/i915: Retire the VMA's fence tracker before unbinding
      5a37be4b
    • Linus Torvalds's avatar
      Merge branch 'etnaviv/fixes' of git://git.pengutronix.de/git/lst/linux · cf723497
      Linus Torvalds authored
      Pull drm/etnaviv fixes from Lucas Stach:
       "I realized I just missed the cut-off point for the final drm fixes
        pull, but I have 2 more etnaviv fixes that need to go into 4.12, as
        they fix fallout from the explicit sync work introduced in the last
        merge window"
      
      [ Pulling directly because Dave is on vacation. Noted by Daniel Vetter,
        and acked by Dave Airlie  - Linus ]
      
      * 'etnaviv/fixes' of git://git.pengutronix.de/git/lst/linux:
        drm/etnaviv: Fix implicit/explicit sync sense inversion
        drm/etnaviv: fix submit flags getting overwritten by BO content
      cf723497
  3. Jun 28, 2017
  4. Jun 27, 2017
  5. Jun 26, 2017
  6. Jun 25, 2017
  7. Jun 24, 2017