aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 47a93928b90f..6571dd78e984 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1294,9 +1294,11 @@ int __set_page_dirty_no_writeback(struct page *page);
1294int redirty_page_for_writepage(struct writeback_control *wbc, 1294int redirty_page_for_writepage(struct writeback_control *wbc,
1295 struct page *page); 1295 struct page *page);
1296void account_page_dirtied(struct page *page, struct address_space *mapping); 1296void account_page_dirtied(struct page *page, struct address_space *mapping);
1297void account_page_cleaned(struct page *page, struct address_space *mapping);
1297int set_page_dirty(struct page *page); 1298int set_page_dirty(struct page *page);
1298int set_page_dirty_lock(struct page *page); 1299int set_page_dirty_lock(struct page *page);
1299int clear_page_dirty_for_io(struct page *page); 1300int clear_page_dirty_for_io(struct page *page);
1301
1300int get_cmdline(struct task_struct *task, char *buffer, int buflen); 1302int get_cmdline(struct task_struct *task, char *buffer, int buflen);
1301 1303
1302/* Is the vma a continuation of the stack vma above it? */ 1304/* Is the vma a continuation of the stack vma above it? */
@@ -2109,7 +2111,7 @@ static inline struct page *follow_page(struct vm_area_struct *vma,
2109#define FOLL_FORCE 0x10 /* get_user_pages read/write w/o permission */ 2111#define FOLL_FORCE 0x10 /* get_user_pages read/write w/o permission */
2110#define FOLL_NOWAIT 0x20 /* if a disk transfer is needed, start the IO 2112#define FOLL_NOWAIT 0x20 /* if a disk transfer is needed, start the IO
2111 * and return without waiting upon it */ 2113 * and return without waiting upon it */
2112#define FOLL_MLOCK 0x40 /* mark page as mlocked */ 2114#define FOLL_POPULATE 0x40 /* fault in page */
2113#define FOLL_SPLIT 0x80 /* don't return transhuge pages, split them */ 2115#define FOLL_SPLIT 0x80 /* don't return transhuge pages, split them */
2114#define FOLL_HWPOISON 0x100 /* check page is hwpoisoned */ 2116#define FOLL_HWPOISON 0x100 /* check page is hwpoisoned */
2115#define FOLL_NUMA 0x200 /* force NUMA hinting page fault */ 2117#define FOLL_NUMA 0x200 /* force NUMA hinting page fault */