legal to call tasklet_schedule() from within schedule()?

From: Chris Friesen
Date: Tue Feb 06 2007 - 11:57:44 EST



I'm noodling around with some way to print out error messages from within the scheduler itself. One way that I'm considering is to copy messages to a static memory buffer and then trigger a tasklet to do the actual printing. The question I had was whether it's actually legal to call tasklet_schedule() from within the schedule() function, or whether that could lead to bad things. Can anyone give me a definitive statement on this?

Does anyone have any other suggestions on the best way to do this?

Thanks,

Chris
-
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/