RCU callback and scheduling while atomic!

From: Herbert Poetzl
Date: Tue Aug 31 2004 - 11:19:40 EST



Hi Dipankar!
Hi Rusty!

just a short question regarding RCU callbacks:

it seems that the RCU callback is not allowed
to (re-)schedule, as it is done occasionally by
put_namespace() for example, as I keep getting
"bad: scheduling while atomic!", when I do so ...

now the question: what is the 'correct' way to
drop a reference to a namespace when freeing up
a structure from an RCU callback?

TIA,
Herbert

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