• David Jeffery's avatar
    [PATCH] ips driver 4/6 · 20081964
    David Jeffery authored
    This is by far the biggest patch.  It is a rewrite of the
    driver's horrid locking.  In addition to the host_lock,
    the driver used to have 4 other locks per adapter!
    It had a redundant ha_lock and a lock for each of 3
    queues.  In a few places it also played with atomic bit
    setting. And almost all of it was useless as the
    host_lock was already held.
    
    This patch cleans up this locking nightmare.  The driver
    now uses the host_lock exclusively.  Only a few places
    needed to add calls to lock the host_lock.  Most of
    this patch is deletion of useless extra locking.
    20081964
ips.c 271 KB