• J
    drivers/char/ip2: separate polling and irq-driven work entry points · 6bd3bd67
    Jeff Garzik 提交于
    Polling currently calls the irq handler, which loops through all the
    boards, calling the work function for all polling boards with work.
    
    irq handling loops through all the boards, finding the specific board
    that applies to us, and calling the work just for that one board.
    
    The two logics are sufficiently different to warrant different
    functions, rather than being slack and calling the same function in two
    different ways.
    
    This serves to make the interrupt handler a -lot- more efficient.
    Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
    6bd3bd67
ip2main.c 102.0 KB