Hello... On Sat, Mar 1, 2008 at 9:53 PM, David Embid <davidembid@xxxxxxxxx> wrote: > I will try to explain it. I have this variable declared on one of my source > files: > > struct Task_Data task_data_array[MAX_NUM_TASKS]; > > this variable is accesd by the function the kernel calls on scheduler and > for other functions on the module. I put a printk on the function and > printed: &task_data_array. > > When accesing the function from the kernel, the value printed differs from > the value printed when accesing from other module function. Hmmm, sign of race condition? but ....is it expected behaviour according to your design? Because IMHO it depends entirely on what you want. regards, Mulyadi -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ