search for: putback_movable_pag

Displaying 20 results from an estimated 69 matches for "putback_movable_pag".

Did you mean: putback_movable_page
2016 Mar 11
1
[PATCH v1 02/19] mm/compaction: support non-lru movable page migration
....h:36:13: note: previous declaration of 'isolate_movable_page' was here extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); ^ In file included from mm/compaction.c:12:0: >> include/linux/compaction.h:92:20: error: static declaration of 'putback_movable_page' follows non-static declaration static inline void putback_movable_page(struct page *page) ^ In file included from mm/compaction.c:11:0: include/linux/migrate.h:37:13: note: previous declaration of 'putback_movable_page' was here extern void putback...
2016 Mar 11
1
[PATCH v1 02/19] mm/compaction: support non-lru movable page migration
....h:36:13: note: previous declaration of 'isolate_movable_page' was here extern bool isolate_movable_page(struct page *page, isolate_mode_t mode); ^ In file included from mm/compaction.c:12:0: >> include/linux/compaction.h:92:20: error: static declaration of 'putback_movable_page' follows non-static declaration static inline void putback_movable_page(struct page *page) ^ In file included from mm/compaction.c:11:0: include/linux/migrate.h:37:13: note: previous declaration of 'putback_movable_page' was here extern void putback...
2016 May 16
2
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
...extern char *migrate_reason_names[MR_TYPES]; > > #ifdef CONFIG_MIGRATION > > +extern int PageMovable(struct page *page); > +extern void __SetPageMovable(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); > +ex...
2016 May 16
2
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
...extern char *migrate_reason_names[MR_TYPES]; > > #ifdef CONFIG_MIGRATION > > +extern int PageMovable(struct page *page); > +extern void __SetPageMovable(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); > +ex...
2016 May 16
1
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
...extern char *migrate_reason_names[MR_TYPES]; > > #ifdef CONFIG_MIGRATION > > +extern int PageMovable(struct page *page); > +extern void __SetPageMovable(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); > +ex...
2016 May 16
1
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
...extern char *migrate_reason_names[MR_TYPES]; > > #ifdef CONFIG_MIGRATION > > +extern int PageMovable(struct page *page); > +extern void __SetPageMovable(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); > +ex...
2012 Aug 21
7
[PATCH v8 0/5] make balloon pages movable by compaction
...vable within a guest, thus avoiding the aforementioned fragmentation issue Rafael Aquini (5): mm: introduce a common interface for balloon pages mobility mm: introduce compaction and migration for ballooned pages virtio_balloon: introduce migration primitives to balloon pages mm: introduce putback_movable_pages() mm: add vm event counters for balloon pages compaction drivers/virtio/virtio_balloon.c | 212 +++++++++++++++++++++++++++++++++++-- include/linux/balloon_compaction.h | 113 ++++++++++++++++++++ include/linux/migrate.h | 2 + include/linux/pagemap.h | 18 ++++ in...
2012 Aug 21
7
[PATCH v8 0/5] make balloon pages movable by compaction
...vable within a guest, thus avoiding the aforementioned fragmentation issue Rafael Aquini (5): mm: introduce a common interface for balloon pages mobility mm: introduce compaction and migration for ballooned pages virtio_balloon: introduce migration primitives to balloon pages mm: introduce putback_movable_pages() mm: add vm event counters for balloon pages compaction drivers/virtio/virtio_balloon.c | 212 +++++++++++++++++++++++++++++++++++-- include/linux/balloon_compaction.h | 113 ++++++++++++++++++++ include/linux/migrate.h | 2 + include/linux/pagemap.h | 18 ++++ in...
2016 Mar 11
0
[PATCH v1 02/19] mm/compaction: support non-lru movable page migration
...--- a/include/linux/compaction.h +++ b/include/linux/compaction.h @@ -84,6 +84,14 @@ static inline bool compaction_deferred(struct zone *zone, int order) return true; } +static inline bool isolate_movable_page(struct page *page, isolate_mode_t mode) +{ + return false; +} + +static inline void putback_movable_page(struct page *page) +{ +} #endif /* CONFIG_COMPACTION */ #if defined(CONFIG_COMPACTION) && defined(CONFIG_SYSFS) && defined(CONFIG_NUMA) diff --git a/include/linux/fs.h b/include/linux/fs.h index ae681002100a..6cd3810a6a27 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h...
2016 Mar 30
0
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
...ress_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 migrate_prep_local(void); diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index f4ed4f1b0c77..77ebf8fdbc6e 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -129,6 +129,10 @@ enum pagef...
2016 Apr 01
2
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
...ct 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 migrate_prep_local(void); > diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h > index f4ed4f1b0c77..77ebf8fdbc6e 100644 > --- a/include/linux/page-flags.h > +++ b/include/linux/page-flag...
2016 Apr 01
2
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
...ct 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 migrate_prep_local(void); > diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h > index f4ed4f1b0c77..77ebf8fdbc6e 100644 > --- a/include/linux/page-flags.h > +++ b/include/linux/page-flag...
2015 Jul 04
1
[RFCv2 4/5] mm/compaction: compaction calls generic migration
...* > * This function shall be used whenever the isolated pageset has been > - * built from lru, balloon, hugetlbfs page. See isolate_migratepages_range() > + * built from lru, driver, hugetlbfs page. See isolate_migratepages_range() > * and isolate_huge_page(). > */ > void putback_movable_pages(struct list_head *l) > @@ -92,8 +92,8 @@ void putback_movable_pages(struct list_head *l) > list_del(&page->lru); > dec_zone_page_state(page, NR_ISOLATED_ANON + > page_is_file_cache(page)); > - if (...
2015 Jul 04
1
[RFCv2 4/5] mm/compaction: compaction calls generic migration
...* > * This function shall be used whenever the isolated pageset has been > - * built from lru, balloon, hugetlbfs page. See isolate_migratepages_range() > + * built from lru, driver, hugetlbfs page. See isolate_migratepages_range() > * and isolate_huge_page(). > */ > void putback_movable_pages(struct list_head *l) > @@ -92,8 +92,8 @@ void putback_movable_pages(struct list_head *l) > list_del(&page->lru); > dec_zone_page_state(page, NR_ISOLATED_ANON + > page_is_file_cache(page)); > - if (...
2016 Mar 21
0
[PATCH v2 13/18] mm/compaction: support non-lru movable page migration
...ress_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 migrate_prep_local(void); diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index f4ed4f1b0c77..3885064641c4 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -129,6 +129,10 @@ enum pagef...
2016 Mar 22
2
[PATCH v2 13/18] mm/compaction: support non-lru movable page migration
...ruct 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 migrate_prep_local(void); > diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h > index f4ed4f1b0c77..3885064641c4 100644 > --- a/include/linux/page-flags.h > +++ b/include/linux/page-flag...
2016 Mar 22
2
[PATCH v2 13/18] mm/compaction: support non-lru movable page migration
...ruct 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 migrate_prep_local(void); > diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h > index f4ed4f1b0c77..3885064641c4 100644 > --- a/include/linux/page-flags.h > +++ b/include/linux/page-flag...
2012 Aug 10
10
[PATCH v7 0/4] make balloon pages movable by compaction
...allooned pages and allow memory balloon pages become movable within a guest, thus avoiding the aforementioned fragmentation issue Rafael Aquini (4): mm: introduce compaction and migration for virtio ballooned pages virtio_balloon: introduce migration primitives to balloon pages mm: introduce putback_movable_pages() mm: add vm event counters for balloon pages compaction drivers/virtio/virtio_balloon.c | 139 +++++++++++++++++++++++++++++++++++++--- include/linux/migrate.h | 2 + include/linux/mm.h | 17 +++++ include/linux/virtio_balloon.h | 4 ++ include/linux/vm_event_item....
2012 Aug 10
10
[PATCH v7 0/4] make balloon pages movable by compaction
...allooned pages and allow memory balloon pages become movable within a guest, thus avoiding the aforementioned fragmentation issue Rafael Aquini (4): mm: introduce compaction and migration for virtio ballooned pages virtio_balloon: introduce migration primitives to balloon pages mm: introduce putback_movable_pages() mm: add vm event counters for balloon pages compaction drivers/virtio/virtio_balloon.c | 139 +++++++++++++++++++++++++++++++++++++--- include/linux/migrate.h | 2 + include/linux/mm.h | 17 +++++ include/linux/virtio_balloon.h | 4 ++ include/linux/vm_event_item....
2016 Apr 04
0
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
...t 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 migrate_prep_local(void); > >diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h > >index f4ed4f1b0c77..77ebf8fdbc6e 100644 > >--- a/include/linux/page-flags.h > >...