lkml.org 
[lkml]   [2009]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC v16][PATCH 13/43] c/r: introduce method '->checkpoint()' in struct vm_operations_struct
Date
Signed-off-by: Oren Laadan <orenl@cs.columbia.edu>
---
include/linux/mm.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/linux/mm.h b/include/linux/mm.h
index bff1f0d..05f0ed9 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -14,6 +14,8 @@
#include <linux/debug_locks.h>
#include <linux/mm_types.h>

+#include <linux/checkpoint_types.h>
+
struct mempolicy;
struct anon_vma;
struct file_ra_state;
@@ -220,6 +222,9 @@ struct vm_operations_struct {
int (*migrate)(struct vm_area_struct *vma, const nodemask_t *from,
const nodemask_t *to, unsigned long flags);
#endif
+#ifdef CONFIG_CHECKPOINT
+ int (*checkpoint)(struct ckpt_ctx *ctx, struct vm_area_struct *vma);
+#endif
};

struct mmu_gather;
--
1.6.0.4


\
 
 \ /
  Last update: 2009-05-27 19:49    [W:0.148 / U:9.692 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site