RE: Question: schedule()

From: albcamus
Date: Tue Mar 06 2007 - 04:13:37 EST


your kthread IS preemptible unless you call preempt_disable or some
locking functions explicitly .

Regards,
albcamus

2007/3/6, Mockern <Mockern@xxxxxxxxx>:
Hi,

What does schedule() function do? I want to make my kthread preemptive.

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

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