set_current_state vs _set_current_state

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,
looking at source code i've find just one difference between set_current_state & _set_curren_state:
the former blocks on a memory_barrier.

I know what a memory barrier is, but i can't understand when do i need to use _set_current_state rather that
set_current_state.

Can anyone pointout an example?!?!!?!??!

tnx


- -- 



Daniele.




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/IXsIW3qcOhrwV/kRAq0uAJ9mN7r0s9+KBFcF90C7h6d4RgJkFgCeIL0I
7LUqDJs/Dvmad86DhDW7G1Q=
=VtlA
-----END PGP SIGNATURE-----

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