#ifndef __LINUX_VMACACHE_H #define __LINUX_VMACACHE_H #include <linux/sched.h> #include <linux/mm.h> /* * Hash based on the page number. Provides a good hit rate for * workloads with good locality and those with random accesses as well. */ #define VMACACHE_HASH(addr) ((addr >> PAGE_SHIFT) & VMACACHE_MASK)
static inline void vmacache_flush(struct task_struct *tsk) { memset(tsk->vmacache.vmas, 0, sizeof(tsk->vmacache.vmas)); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Davidlohr Bueso A | 28 | 87.50% | 1 | 50.00% |
Ingo Molnar | 4 | 12.50% | 1 | 50.00% |
Total | 32 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Davidlohr Bueso A | 34 | 100.00% | 1 | 100.00% |
Total | 34 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Davidlohr Bueso A | 150 | 97.40% | 1 | 50.00% |
Ingo Molnar | 4 | 2.60% | 1 | 50.00% |
Total | 154 | 100.00% | 2 | 100.00% |