cregit-Linux how code gets into the kernel

Release 4.11 tools/testing/radix-tree/linux/radix-tree.h

#ifndef _TEST_RADIX_TREE_H

#define _TEST_RADIX_TREE_H

#include "generated/map-shift.h"
#include "../../../../include/linux/radix-tree.h"

extern int kmalloc_verbose;
extern int test_verbose;


static inline void trace_call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *head)) { if (kmalloc_verbose) printf("Delaying free of %p to slab\n", (char *)head - offsetof(struct radix_tree_node, rcu_head)); call_rcu(head, func); }

Contributors

PersonTokensPropCommitsCommitProp
Matthew Wilcox54100.00%1100.00%
Total54100.00%1100.00%

#define printv(verbosity_level, fmt, ...) \ if(test_verbose >= verbosity_level) \ printf(fmt, ##__VA_ARGS__) #undef call_rcu #define call_rcu(x, y) trace_call_rcu(x, y) #endif /* _TEST_RADIX_TREE_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Matthew Wilcox8281.19%250.00%
Rehas Sachdeva1918.81%250.00%
Total101100.00%4100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.