search for: migrate_pages

Displaying 20 results from an estimated 80 matches for "migrate_pages".

Did you mean: migrate_page
2010 Nov 27
1
[next-rc] Compile Error fs/btrfs/diskio.c
I''ve been getting a compile error when building the ''next-rc'' branch of btrfs-unstable. CC fs/btrfs/disk-io.o fs/btrfs/disk-io.c: In function ‘btree_migratepage’: fs/btrfs/disk-io.c:716: error: called object ‘0u’ is not a function make[2]: *** [fs/btrfs/disk-io.o] Error 1 make[1]: *** [fs/btrfs] Error 2 make: *** [fs] Error 2 Line 716 of fs/btrfs/disk-io.c is:
2016 May 16
2
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
...struct page *page, struct address_space *mapping); > +extern void __ClearPageMovable(struct page *page); > extern void putback_movable_pages(struct list_head *l); > extern int migrate_page(struct address_space *, > struct page *, struct page *, enum migrate_mode); > extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, > unsigned long private, enum migrate_mode mode, int reason); > +extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); > +extern void putback_movable_page(struct page *page); > > extern int migrate_prep(...
2016 May 16
2
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
...struct page *page, struct address_space *mapping); > +extern void __ClearPageMovable(struct page *page); > extern void putback_movable_pages(struct list_head *l); > extern int migrate_page(struct address_space *, > struct page *, struct page *, enum migrate_mode); > extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, > unsigned long private, enum migrate_mode mode, int reason); > +extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); > +extern void putback_movable_page(struct page *page); > > extern int migrate_prep(...
2016 May 16
1
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
...struct page *page, struct address_space *mapping); > +extern void __ClearPageMovable(struct page *page); > extern void putback_movable_pages(struct list_head *l); > extern int migrate_page(struct address_space *, > struct page *, struct page *, enum migrate_mode); > extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, > unsigned long private, enum migrate_mode mode, int reason); > +extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); > +extern void putback_movable_page(struct page *page); > > extern int migrate_prep(...
2016 May 16
1
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
...struct page *page, struct address_space *mapping); > +extern void __ClearPageMovable(struct page *page); > extern void putback_movable_pages(struct list_head *l); > extern int migrate_page(struct address_space *, > struct page *, struct page *, enum migrate_mode); > extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, > unsigned long private, enum migrate_mode mode, int reason); > +extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); > +extern void putback_movable_page(struct page *page); > > extern int migrate_prep(...
2016 Jun 15
0
[PATCH v7 00/12] Support non-lru page migration
...ug_check_no_locks_freed+0x150/0x22b [ 315.147315] [<ffffffff812842d1>] move_to_new_page+0x4dd/0x615 [ 315.147332] [<ffffffff81283df4>] ? migrate_page+0x75/0x75 [ 315.147347] [<ffffffff8122785e>] ? isolate_freepages_block+0x5a6/0x5a6 [ 315.147366] [<ffffffff812851c1>] migrate_pages+0xadd/0x131a [ 315.147382] [<ffffffff8122785e>] ? isolate_freepages_block+0x5a6/0x5a6 [ 315.147399] [<ffffffff81226375>] ? kzfree+0x2b/0x2b [ 315.147414] [<ffffffff812846e4>] ? buffer_migrate_page+0x2db/0x2db [ 315.147431] [<ffffffff8122a6cf>] compact_zone+0xcdb/0x11...
2016 May 17
0
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
...address_space *mapping); > > +extern void __ClearPageMovable(struct page *page); > > extern void putback_movable_pages(struct list_head *l); > > extern int migrate_page(struct address_space *, > > struct page *, struct page *, enum migrate_mode); > > extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, > > unsigned long private, enum migrate_mode mode, int reason); > > +extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); > > +extern void putback_movable_page(struct page *page); > > > >...
2016 Mar 21
0
[PATCH v2 13/18] mm/compaction: support non-lru movable page migration
...ng); diff --git a/include/linux/migrate.h b/include/linux/migrate.h index 9b50325e4ddf..404fbfefeb33 100644 --- a/include/linux/migrate.h +++ b/include/linux/migrate.h @@ -37,6 +37,8 @@ extern int migrate_page(struct address_space *, struct page *, struct page *, enum migrate_mode); extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, unsigned long private, enum migrate_mode mode, int reason); +extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); +extern void putback_movable_page(struct page *page); extern int migrate_prep(void); extern int migrat...
2016 Mar 11
0
[PATCH v1 02/19] mm/compaction: support non-lru movable page migration
...ng); diff --git a/include/linux/migrate.h b/include/linux/migrate.h index cac1c0904d5f..f10fd92860ac 100644 --- a/include/linux/migrate.h +++ b/include/linux/migrate.h @@ -33,6 +33,8 @@ extern int migrate_page(struct address_space *, struct page *, struct page *, enum migrate_mode); extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, unsigned long private, enum migrate_mode mode, int reason); +extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); +extern void putback_movable_page(struct page *page); extern int migrate_prep(void); extern int migrat...
2016 Mar 30
0
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
...ng); diff --git a/include/linux/migrate.h b/include/linux/migrate.h index 9b50325e4ddf..404fbfefeb33 100644 --- a/include/linux/migrate.h +++ b/include/linux/migrate.h @@ -37,6 +37,8 @@ extern int migrate_page(struct address_space *, struct page *, struct page *, enum migrate_mode); extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, unsigned long private, enum migrate_mode mode, int reason); +extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); +extern void putback_movable_page(struct page *page); extern int migrate_prep(void); extern int migrat...
2016 Apr 01
2
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
...migrate.h b/include/linux/migrate.h > index 9b50325e4ddf..404fbfefeb33 100644 > --- a/include/linux/migrate.h > +++ b/include/linux/migrate.h > @@ -37,6 +37,8 @@ extern int migrate_page(struct address_space *, > struct page *, struct page *, enum migrate_mode); > extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, > unsigned long private, enum migrate_mode mode, int reason); > +extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); > +extern void putback_movable_page(struct page *page); > > extern int migrate_prep(...
2016 Apr 01
2
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
...migrate.h b/include/linux/migrate.h > index 9b50325e4ddf..404fbfefeb33 100644 > --- a/include/linux/migrate.h > +++ b/include/linux/migrate.h > @@ -37,6 +37,8 @@ extern int migrate_page(struct address_space *, > struct page *, struct page *, enum migrate_mode); > extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, > unsigned long private, enum migrate_mode mode, int reason); > +extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); > +extern void putback_movable_page(struct page *page); > > extern int migrate_prep(...
2016 Mar 23
1
[PATCH v2 13/18] mm/compaction: support non-lru movable pagemigration
2016 Mar 23
1
[PATCH v2 13/18] mm/compaction: support non-lru movable pagemigration
2016 Mar 30
0
[PATCH v3 03/16] mm: add non-lru movable page support document
This patch describes what a subsystem should do for non-lru movable page supporting. Cc: Jonathan Corbet <corbet at lwn.net> Signed-off-by: Minchan Kim <minchan at kernel.org> --- Documentation/filesystems/vfs.txt | 11 ++++++- Documentation/vm/page_migration | 69 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 78 insertions(+), 2 deletions(-) diff --git
2016 Jun 15
2
[PATCH v6v3 02/12] mm: migrate: support non-lru movable page migration
...to struct address_space (file->f_mapping) which belongs to the character device file (created using mknod) which we are using for establishing the mmap() regions in the user space. Now as per this new framework, all the page's are to be made __SetPageMovable before passing the list down to migrate_pages(). Now __SetPageMovable() takes *new* struct address_space as an argument and replaces the existing page->mapping. Now thats the problem, we have lost all our connection to the existing file RMAP information. This stands as a problem when we try to migrate these non LRU pages which are PTE mappe...
2016 Jun 15
2
[PATCH v6v3 02/12] mm: migrate: support non-lru movable page migration
...to struct address_space (file->f_mapping) which belongs to the character device file (created using mknod) which we are using for establishing the mmap() regions in the user space. Now as per this new framework, all the page's are to be made __SetPageMovable before passing the list down to migrate_pages(). Now __SetPageMovable() takes *new* struct address_space as an argument and replaces the existing page->mapping. Now thats the problem, we have lost all our connection to the existing file RMAP information. This stands as a problem when we try to migrate these non LRU pages which are PTE mappe...
2016 Mar 22
2
[PATCH v2 13/18] mm/compaction: support non-lru movable page migration
...x/migrate.h b/include/linux/migrate.h > index 9b50325e4ddf..404fbfefeb33 100644 > --- a/include/linux/migrate.h > +++ b/include/linux/migrate.h > @@ -37,6 +37,8 @@ extern int migrate_page(struct address_space *, > struct page *, struct page *, enum migrate_mode); > extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, > unsigned long private, enum migrate_mode mode, int reason); > +extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); > +extern void putback_movable_page(struct page *page); > > extern int migrate_prep(...
2016 Mar 22
2
[PATCH v2 13/18] mm/compaction: support non-lru movable page migration
...x/migrate.h b/include/linux/migrate.h > index 9b50325e4ddf..404fbfefeb33 100644 > --- a/include/linux/migrate.h > +++ b/include/linux/migrate.h > @@ -37,6 +37,8 @@ extern int migrate_page(struct address_space *, > struct page *, struct page *, enum migrate_mode); > extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, > unsigned long private, enum migrate_mode mode, int reason); > +extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); > +extern void putback_movable_page(struct page *page); > > extern int migrate_prep(...
2016 May 31
7
[PATCH v7 00/12] Support non-lru page migration
Recently, I got many reports about perfermance degradation in embedded system(Android mobile phone, webOS TV and so on) and easy fork fail. The problem was fragmentation caused by zram and GPU driver mainly. With memory pressure, their pages were spread out all of pageblock and it cannot be migrated with current compaction algorithm which supports only LRU pages. In the end, compaction cannot