1. 22 6月, 2013 1 次提交
  2. 23 3月, 2013 1 次提交
  3. 20 7月, 2012 1 次提交
  4. 15 5月, 2012 1 次提交
    • M
      IB/qib: Optimize pio ack buffer allocation · bb77a077
      Mike Marciniszyn 提交于
      This patch optimizes pio buffer allocation in the kernel.
      
      For qib, kernel pio buffers are used for sending acks.  The code to
      allocate the buffer would always start at 0 until it found a buffer.
      
      This means that an average of 64 comparisions were done on each
      allocate, since the busy bit won't be cleared until the bits are
      refreshed when buffers are exhausted.
      
      This patch adds two new fields in the devdata struct, last_pio and
      min_kernel_pio.  last_pio is the last buffer that was allocated.
      min_kernel_pio is the lowest potential available buffer.
      
      min_kernel_pio is modifed as contexts are allocated and deallocted.
      Reviewed-by: NRamkrishna Vepa <ramkrishna.vepa@intel.com>
      Signed-off-by: NMike Marciniszyn <mike.marciniszyn@intel.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      bb77a077
  5. 28 1月, 2012 1 次提交
  6. 04 1月, 2012 1 次提交
  7. 22 10月, 2011 1 次提交
  8. 27 4月, 2011 1 次提交
  9. 31 3月, 2011 1 次提交
  10. 11 1月, 2011 1 次提交
  11. 07 7月, 2010 1 次提交
  12. 26 5月, 2010 1 次提交
  13. 24 5月, 2010 1 次提交