diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-21 22:05:45 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-21 22:05:45 -0500 |
commit | df32e43a54d04eda35d2859beaf90e3864d53288 (patch) | |
tree | 7a61cf658b2949bd426285eb9902be7758ced1ba /include/linux/mempolicy.h | |
parent | fbd918a2026d0464ce9c23f57b7de4bcfccdc2e6 (diff) | |
parent | 78d5506e82b21a1a1de68c24182db2c2fe521422 (diff) |
Merge branch 'akpm' (incoming from Andrew)
Merge first patch-bomb from Andrew Morton:
- a couple of misc things
- inotify/fsnotify work from Jan
- ocfs2 updates (partial)
- about half of MM
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (117 commits)
mm/migrate: remove unused function, fail_migrate_page()
mm/migrate: remove putback_lru_pages, fix comment on putback_movable_pages
mm/migrate: correct failure handling if !hugepage_migration_support()
mm/migrate: add comment about permanent failure path
mm, page_alloc: warn for non-blockable __GFP_NOFAIL allocation failure
mm: compaction: reset scanner positions immediately when they meet
mm: compaction: do not mark unmovable pageblocks as skipped in async compaction
mm: compaction: detect when scanners meet in isolate_freepages
mm: compaction: reset cached scanner pfn's before reading them
mm: compaction: encapsulate defer reset logic
mm: compaction: trace compaction begin and end
memcg, oom: lock mem_cgroup_print_oom_info
sched: add tracepoints related to NUMA task migration
mm: numa: do not automatically migrate KSM pages
mm: numa: trace tasks that fail migration due to rate limiting
mm: numa: limit scope of lock for NUMA migrate rate limiting
mm: numa: make NUMA-migrate related functions static
lib/show_mem.c: show num_poisoned_pages when oom
mm/hwpoison: add '#' to hwpoison_inject
mm/memblock: use WARN_ONCE when MAX_NUMNODES passed as input parameter
...
Diffstat (limited to 'include/linux/mempolicy.h')
-rw-r--r-- | include/linux/mempolicy.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h index 9fe426b30a41..5f1ea756aace 100644 --- a/include/linux/mempolicy.h +++ b/include/linux/mempolicy.h | |||
@@ -211,20 +211,8 @@ static inline void mpol_get(struct mempolicy *pol) | |||
211 | { | 211 | { |
212 | } | 212 | } |
213 | 213 | ||
214 | static inline struct mempolicy *mpol_dup(struct mempolicy *old) | ||
215 | { | ||
216 | return NULL; | ||
217 | } | ||
218 | |||
219 | struct shared_policy {}; | 214 | struct shared_policy {}; |
220 | 215 | ||
221 | static inline int mpol_set_shared_policy(struct shared_policy *info, | ||
222 | struct vm_area_struct *vma, | ||
223 | struct mempolicy *new) | ||
224 | { | ||
225 | return -EINVAL; | ||
226 | } | ||
227 | |||
228 | static inline void mpol_shared_policy_init(struct shared_policy *sp, | 216 | static inline void mpol_shared_policy_init(struct shared_policy *sp, |
229 | struct mempolicy *mpol) | 217 | struct mempolicy *mpol) |
230 | { | 218 | { |
@@ -234,12 +222,6 @@ static inline void mpol_free_shared_policy(struct shared_policy *p) | |||
234 | { | 222 | { |
235 | } | 223 | } |
236 | 224 | ||
237 | static inline struct mempolicy * | ||
238 | mpol_shared_policy_lookup(struct shared_policy *sp, unsigned long idx) | ||
239 | { | ||
240 | return NULL; | ||
241 | } | ||
242 | |||
243 | #define vma_policy(vma) NULL | 225 | #define vma_policy(vma) NULL |
244 | 226 | ||
245 | static inline int | 227 | static inline int |
@@ -266,10 +248,6 @@ static inline void mpol_rebind_mm(struct mm_struct *mm, nodemask_t *new) | |||
266 | { | 248 | { |
267 | } | 249 | } |
268 | 250 | ||
269 | static inline void mpol_fix_fork_child_flag(struct task_struct *p) | ||
270 | { | ||
271 | } | ||
272 | |||
273 | static inline struct zonelist *huge_zonelist(struct vm_area_struct *vma, | 251 | static inline struct zonelist *huge_zonelist(struct vm_area_struct *vma, |
274 | unsigned long addr, gfp_t gfp_flags, | 252 | unsigned long addr, gfp_t gfp_flags, |
275 | struct mempolicy **mpol, nodemask_t **nodemask) | 253 | struct mempolicy **mpol, nodemask_t **nodemask) |
@@ -284,12 +262,6 @@ static inline bool init_nodemask_of_mempolicy(nodemask_t *m) | |||
284 | return false; | 262 | return false; |
285 | } | 263 | } |
286 | 264 | ||
287 | static inline bool mempolicy_nodemask_intersects(struct task_struct *tsk, | ||
288 | const nodemask_t *mask) | ||
289 | { | ||
290 | return false; | ||
291 | } | ||
292 | |||
293 | static inline int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from, | 265 | static inline int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from, |
294 | const nodemask_t *to, int flags) | 266 | const nodemask_t *to, int flags) |
295 | { | 267 | { |
@@ -307,10 +279,6 @@ static inline int mpol_parse_str(char *str, struct mempolicy **mpol) | |||
307 | } | 279 | } |
308 | #endif | 280 | #endif |
309 | 281 | ||
310 | static inline void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol) | ||
311 | { | ||
312 | } | ||
313 | |||
314 | static inline int mpol_misplaced(struct page *page, struct vm_area_struct *vma, | 282 | static inline int mpol_misplaced(struct page *page, struct vm_area_struct *vma, |
315 | unsigned long address) | 283 | unsigned long address) |
316 | { | 284 | { |