Re: buggy GFP_KERNEL allocators

From: kuznet@ms2.inr.ac.ru
Date: Wed Jan 26 2000 - 15:02:33 EST


Hello!

> + current->state = TASK_RUNNING; /* We *must* do this before touching userspace! */

This smells suspiciously. Page fault code should not stuck only because
task state is not running. It contaradicts all the idea behind wait queues.

Essentially, fault is like signal. It must move task state to running.

Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:17 EST