why do we need atomic_set_unchecked
When i tried to apply the GrSecurity patch on linux kernel 3.10 and there the patch actually modifies atomic_set to atomic_set_unchecked. When i checked the gcc patch to compile this code it just redefines atomic_set as atomic_set_unchecked. So what is the use of changing the function name.?? Am I missing something here(i.e have they given a new definition for this function anywhere else). And i would also like to know what this function(atomic_set_unchecked. I know about the atomic_set function) is used for.
--
View this message in context: http://linux-kernel.2935.n7.nabble.com/why-do-we-need-atomic-set-unchecked-tp656004.html
Sent from the Linux Kernel mailing list archive at Nabble.com.
Quoted 8 lines · On Mon, May 27, 2013 at 9:47 AM, johnspaul92 <[email protected]> wrote:
When i tried to apply the GrSecurity patch on linux kernel 3.10 and there the patch actually modifies
atomic_settoatomic_set_unchecked. When i checked the gcc patch to compile this code it just redefinesatomic_setasatomic_set_unchecked. So what is the use of changing the function name.?? Am I missing something here(i.e have they given a new definition for this function anywhere else). And i would also like to know what this function(atomic_set_unchecked. I know about theatomic_setfunction) is used for.
Isn't this a question for the grsecurity developers?
--
Thanks,
//richard