1. 03 Jan, 2005 3 commits
    • Christoph Hellwig's avatar
      [PATCH] gdth: cleanup compat clutter · e22ccab2
      Christoph Hellwig authored
      This patch
      
      - removes support for 2.2.x and 2.4.x without the full dma API
        (<= 2.4.13 or 2.4.9rh)
      - makes sure we don't acquire or release unessecary locks around
        ->scsi_done - it's a small BH/softirq that doesn't care about
        the callers lock state
      - cleans up the 2.4 vs 2.6 compat code a little
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      e22ccab2
    • Randy Dunlap's avatar
      [PATCH] gdth: reduce large on-stack locals · 96f252ac
      Randy Dunlap authored
      gdth is the fourth-highest stack user (for a single function)
      in 2.6.10-rc3-bk-recent (sizes on x86-32).
      
      Reduce stack usage in gdth driver:
      reduce ioc_rescan() from 1564 to 52 bytes;
      reduce ioc_hdrlist() from 1528 to 24 bytes;
      reduce gdth_get_info() from 1076 to 300 bytes;
      Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      96f252ac
    • Jens Axboe's avatar
      [PATCH] gdth buggy page mapping · 53b2a84a
      Jens Axboe authored
      Just tripped over a bug report for the SUSE kernel where gdth would
      crash on a 32G opteron, turned out that the gdth_internal_copy() sg
      handling was really buggy. After fixing this I wanted to do the same for
      mainline, but I can see that a vain attempt was already made to fix it.
      Unfortunately it wasn't complete, and on top of that there's room for
      improvement.
      
      The current code is buggy on highmem, as page_address() will not yield a
      valid kernel address causing a NULL pointer dereference. The current
      code also doesn't unmap the sg list if it sees a NULL sl->page. In fact,
      the whole sg mapping looks really strange, why on earth would you be
      mapping the sglist for dma when you are only going to copy from it?
      
      This patch corrects both errors - correctly maps in the page, and kills
      the pci_map_sg/pci_unmap_sg calls completely. If someone could test
      this, that would be great.
      Signed-off-by: default avatarJens Axboe <axboe@suse.de>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      53b2a84a
  2. 01 Jan, 2005 3 commits
  3. 31 Dec, 2004 9 commits
  4. 01 Jan, 2005 5 commits
  5. 31 Dec, 2004 3 commits
  6. 30 Dec, 2004 1 commit
  7. 31 Dec, 2004 3 commits
  8. 30 Dec, 2004 11 commits
  9. 29 Dec, 2004 2 commits