cregit-Linux how code gets into the kernel

Release 4.7 kernel/locking/rwsem.h

Directory: kernel/locking
#ifdef CONFIG_RWSEM_SPIN_ON_OWNER

static inline void rwsem_set_owner(struct rw_semaphore *sem) { sem->owner = current; }

Contributors

PersonTokensPropCommitsCommitProp
davidlohr buesodavidlohr bueso18100.00%1100.00%
Total18100.00%1100.00%


static inline void rwsem_clear_owner(struct rw_semaphore *sem) { sem->owner = NULL; }

Contributors

PersonTokensPropCommitsCommitProp
davidlohr buesodavidlohr bueso18100.00%1100.00%
Total18100.00%1100.00%

#else
static inline void rwsem_set_owner(struct rw_semaphore *sem) { }

Contributors

PersonTokensPropCommitsCommitProp
davidlohr buesodavidlohr bueso11100.00%1100.00%
Total11100.00%1100.00%


static inline void rwsem_clear_owner(struct rw_semaphore *sem) { }

Contributors

PersonTokensPropCommitsCommitProp
davidlohr buesodavidlohr bueso11100.00%1100.00%
Total11100.00%1100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
davidlohr buesodavidlohr bueso65100.00%1100.00%
Total65100.00%1100.00%
Directory: kernel/locking
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}