Use doubly-linked list in fifo.*