diff options
| author | Steve French <sfrench@us.ibm.com> | 2008-05-06 13:55:32 -0400 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2008-05-06 13:55:32 -0400 |
| commit | a815752ac0ffdb910e92958d41d28f4fb28e5296 (patch) | |
| tree | a3aa16a282354da0debe8e3a3a7ed8aac6e54001 /include/linux/mm.h | |
| parent | 5ade9deaaa3e1f7291467d97b238648e43eae15e (diff) | |
| parent | a15306365a16380f3bafee9e181ba01231d4acd7 (diff) | |
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/linux/mm.h')
| -rw-r--r-- | include/linux/mm.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 8b7f4a5d4f6a..c31a9cd2a30e 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
| @@ -1066,6 +1066,19 @@ extern void unlink_file_vma(struct vm_area_struct *); | |||
| 1066 | extern struct vm_area_struct *copy_vma(struct vm_area_struct **, | 1066 | extern struct vm_area_struct *copy_vma(struct vm_area_struct **, |
| 1067 | unsigned long addr, unsigned long len, pgoff_t pgoff); | 1067 | unsigned long addr, unsigned long len, pgoff_t pgoff); |
| 1068 | extern void exit_mmap(struct mm_struct *); | 1068 | extern void exit_mmap(struct mm_struct *); |
| 1069 | |||
| 1070 | #ifdef CONFIG_PROC_FS | ||
| 1071 | /* From fs/proc/base.c. callers must _not_ hold the mm's exe_file_lock */ | ||
| 1072 | extern void added_exe_file_vma(struct mm_struct *mm); | ||
| 1073 | extern void removed_exe_file_vma(struct mm_struct *mm); | ||
| 1074 | #else | ||
| 1075 | static inline void added_exe_file_vma(struct mm_struct *mm) | ||
| 1076 | {} | ||
| 1077 | |||
| 1078 | static inline void removed_exe_file_vma(struct mm_struct *mm) | ||
| 1079 | {} | ||
| 1080 | #endif /* CONFIG_PROC_FS */ | ||
| 1081 | |||
| 1069 | extern int may_expand_vm(struct mm_struct *mm, unsigned long npages); | 1082 | extern int may_expand_vm(struct mm_struct *mm, unsigned long npages); |
| 1070 | extern int install_special_mapping(struct mm_struct *mm, | 1083 | extern int install_special_mapping(struct mm_struct *mm, |
| 1071 | unsigned long addr, unsigned long len, | 1084 | unsigned long addr, unsigned long len, |
| @@ -1230,8 +1243,6 @@ int drop_caches_sysctl_handler(struct ctl_table *, int, struct file *, | |||
| 1230 | void __user *, size_t *, loff_t *); | 1243 | void __user *, size_t *, loff_t *); |
| 1231 | unsigned long shrink_slab(unsigned long scanned, gfp_t gfp_mask, | 1244 | unsigned long shrink_slab(unsigned long scanned, gfp_t gfp_mask, |
| 1232 | unsigned long lru_pages); | 1245 | unsigned long lru_pages); |
| 1233 | void drop_pagecache(void); | ||
| 1234 | void drop_slab(void); | ||
| 1235 | 1246 | ||
| 1236 | #ifndef CONFIG_MMU | 1247 | #ifndef CONFIG_MMU |
| 1237 | #define randomize_va_space 0 | 1248 | #define randomize_va_space 0 |
