aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNamhoon Kim <namhoonk@cs.unc.edu>2016-09-26 00:43:38 -0400
committerNamhoon Kim <namhoonk@cs.unc.edu>2016-09-26 00:43:38 -0400
commita75060efea2b2ce6e5bf8ab540c123de42395755 (patch)
tree099f415fb4a666601dec26b7e9c7fe352783ff49
parentcbe4c29edb5e783a5839d72705c18e5a795c4e05 (diff)
pagecache descriptor structure
-rw-r--r--include/linux/mm_types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index 8d37e26a1007..e8011e019864 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -12,6 +12,7 @@
12#include <linux/cpumask.h> 12#include <linux/cpumask.h>
13#include <linux/uprobes.h> 13#include <linux/uprobes.h>
14#include <linux/page-flags-layout.h> 14#include <linux/page-flags-layout.h>
15#include <linux/radix-tree.h>
15#include <asm/page.h> 16#include <asm/page.h>
16#include <asm/mmu.h> 17#include <asm/mmu.h>
17 18
@@ -545,4 +546,10 @@ typedef struct {
545 unsigned long val; 546 unsigned long val;
546} swp_entry_t; 547} swp_entry_t;
547 548
549struct pcache_desc {
550 struct page *master;
551 cpumask_t cpus_present;
552 struct radix_tree_root page_tree;
553};
554
548#endif /* _LINUX_MM_TYPES_H */ 555#endif /* _LINUX_MM_TYPES_H */