Re: Re: Changing the state of a process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Mr McKenney...

> HT is indeed SMP as far as memory barriers are concerned.
>
> However, this does not necessarily mean that each and every assignment
> to task_struct->state is a bug.  You need to look at the context -- what
> locks are held, whether the task structure in question is accessible
> to other CPUs (e.g., during initialization), and so on.  Of course, if
> you have a test case that forces a failure, and changing to use
> set_task_state() prevents that failure, please submit the patch to
> LKML.

Thank you for your extensive explanation, Mr McKenney, it is
helpful...at least for me.I'll let rajaram to study all these
informations first, since this is actually his coding's problem.

NB:Merry Christmast and Happy New year for you and your family...

regards

Mulyadi

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux