clear interrupt first incase another interrupt came when process the first interrupt add lock before check esf_buf incase two task check esf_buf same time