Re: Can current macro be accessed from interrupt context?

From: Leonidas .
Date: Thu Oct 22 2009 - 14:18:01 EST


Assumption
> here is a certain task can be in kernel mode only on one cpu at a time
> hence that task specific
> data structure can be accessed without locks.

This is pretty much like per cpu variables, right? Conceptually there
is no difference
in per-cpu mechanism and what I am thinking.

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