The application discloses a kind of hardware
spinlock logic interval check devices supporting multiprocessor
programming, including interface control module and
logic control module, interface control module includes
bus interface, n input
message queue, n return
message queue and register control module,
logic control module includes
spinlock control module, logic interval check control module, logic interval
information storage array and spin
queue.N input
message queue is connected with external n
microprocessor respectively, for receiving and storing input message from
microprocessor,
spinlock control module is connected with n input message
queue, register control module, logic interval check control module, spin
queue, n return message queue, register control module is connected with
bus interface.The application reduces the
software overhead in
solid state
disk controller, including reducing the node queue, inter-core interaction queue in
software maintenance on-
chip cache resource occupation, improve the efficiency of interval check.