1. 16 4月, 2016 6 次提交
  2. 01 4月, 2016 1 次提交
  3. 17 3月, 2016 1 次提交
    • S
      s390/dasd: reorder lcu and device lock · 59a9ed5f
      Stefan Haberland 提交于
      Reorder lcu and device lock to get rid of the error-prone trylock
      mechanism.
      
      The locking order is lcu lock -> device lock.
      This protects against changes to the lcu device lists and enables us
      to iterate over the devices, take the cdev lock and make changes to
      the device structures.
      
      The complicated part is the summary unit check handler that gets an
      interrupt on one device of the lcu that leads to structural changes of
      the whole lcu itself. This work needs to be done even if devices on
      the lcu disappear. So a device independent worker is used.
      The old approach tried to update some lcu structures and set up the
      lcu worker in the interrupt context with the device lock held.
      But this forced the lock order "cdev lock -> lcu lock" that made it
      hard to have the lcu lock held and iterate over all devices and change
      them.
      
      The new approach is to schedule a device specific worker that gets
      out of the interrupt context and rid of the device lock for summary
      unit checks. This worker is able to take the lcu lock and schedule the
      lcu worker that updates all devices. The time between interrupt and
      worker execution is no problem because the devices in the lcu reject
      all I/O in this time with an appropriate error. The dasd driver can
      deal with this situation and re-drive the I/O later on.
      Signed-off-by: NStefan Haberland <sth@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      59a9ed5f
  4. 07 3月, 2016 5 次提交
  5. 03 3月, 2016 2 次提交
  6. 02 3月, 2016 1 次提交
  7. 23 2月, 2016 1 次提交
  8. 17 2月, 2016 1 次提交
  9. 11 2月, 2016 2 次提交
  10. 29 1月, 2016 1 次提交
    • P
      tty: Remove ASYNC_CLOSING · afc5ab09
      Peter Hurley 提交于
      The tty core no longer provides nor uses ASYNC_CLOSING; remove from
      tty_port_close_start() and tty_port_close_end() as well as tty drivers
      which open-code these state changes. Unfortunately, even though the
      bit is masked from userspace, its inclusion in a uapi header precludes
      removing the macro.
      
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: linux-s390@vger.kernel.org
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Jesper Nilsson <jesper.nilsson@axis.com>
      Cc: linux-cris-kernel@axis.com
      Cc: Samuel Ortiz <samuel@sortiz.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: NPeter Hurley <peter@hurleysoftware.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      afc5ab09
  11. 26 1月, 2016 4 次提交
  12. 16 1月, 2016 1 次提交
    • D
      mm, dax, pmem: introduce pfn_t · 34c0fd54
      Dan Williams 提交于
      For the purpose of communicating the optional presence of a 'struct
      page' for the pfn returned from ->direct_access(), introduce a type that
      encapsulates a page-frame-number plus flags.  These flags contain the
      historical "page_link" encoding for a scatterlist entry, but can also
      denote "device memory".  Where "device memory" is a set of pfns that are
      not part of the kernel's linear mapping by default, but are accessed via
      the same memory controller as ram.
      
      The motivation for this new type is large capacity persistent memory
      that needs struct page entries in the 'memmap' to support 3rd party DMA
      (i.e.  O_DIRECT I/O with a persistent memory source/target).  However,
      we also need it in support of maintaining a list of mapped inodes which
      need to be unmapped at driver teardown or freeze_bdev() time.
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Hansen <dave@sr71.net>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      34c0fd54
  13. 13 1月, 2016 1 次提交
  14. 11 1月, 2016 1 次提交
  15. 04 1月, 2016 1 次提交
  16. 30 12月, 2015 4 次提交
  17. 23 12月, 2015 1 次提交
  18. 18 12月, 2015 5 次提交
  19. 17 12月, 2015 1 次提交