rem: }
context: static void remove_page_from_queue(page_queue *q, vm_page *page){//	dprintf("remove_page: q = %p, q->head = %p, q->tail = %p\n", q, q->head, q->tail);	check_page_queue("rpq1", q);	if (page->queue_prev != NULL) {		page->queue_prev->queue_next = page->queue_next;	} else {		q->head = page->queue_next;	}	if (page->queue_next != NULL) {		page->queue_next->queue_prev = page->queue_prev;	} else {		q->tail = page->queue_prev;	}	q->count--;	if ((q->head == NULL || q->tail == NULL) && q->head != q->tail)		panic("remove_page_from_queue: list at %p is corrupt (count = %d)\n", q, q->count);	check_page_queue("rpq2", q);}