• A
    RDS: Rewrite rds_send_drop_to() for clarity · 7c82eaf0
    Andy Grover 提交于
    This function has been the source of numerous bugs; it's just
    too complicated. Simplified to nest spinlocks cleanly within
    the second loop body, and kick out early if there are no
    rms to drop.
    
    This will be a little slower because conn lock is grabbed for
    each entry instead of "caching" the lock across rms, but this
    should be entirely irrelevant to fastpath performance.
    Signed-off-by: NAndy Grover <andy.grover@oracle.com>
    7c82eaf0
send.c 27.3 KB