rem: if ((from_q->head == NULL || from_q->tail == NULL) && from_q->head != from_q->tail) panic("move_page_to_queue: from list at %p is corrupt (count = %d)\n", from_q, from_q->count); if ((to_q->head == NULL || to_q->tail == NULL) && to_q->head != to_q->tail) panic("move_page_to_queue: to list at %p is corrupt (count = %d)\n", to_q, to_q->count);
context: static void move_page_to_queue(page_queue *from_q, page_queue *to_q, vm_page *page){	if (from_q != to_q) {		remove_page_from_queue(from_q, page);		enqueue_page(to_q, page);	}	if ((from_q->head == NULL || from_q->tail == NULL) && from_q->head != from_q->tail)		panic("move_page_to_queue: from list at %p is corrupt (count = %d)\n", from_q, from_q->count);	if ((to_q->head == NULL || to_q->tail == NULL) && to_q->head != to_q->tail)		panic("move_page_to_queue: to list at %p is corrupt (count = %d)\n", to_q, to_q->count);}