search for: pg_locked

Displaying 20 results from an estimated 79 matches for "pg_locked".

2016 Mar 23
1
[PATCH v2 13/18] mm/compaction: support non-lru movable page migration
...@@ u64 stable_page_flags(struct page *page) > > > if (page_is_idle(page)) > > > u |= 1 << KPF_IDLE; > > > > > > + if (PageMovable(page)) > > > + u |= 1 << KPF_MOVABLE; > > > + > > > u |= kpf_copy_bit(k, KPF_LOCKED, PG_locked); > > > > > > u |= kpf_copy_bit(k, KPF_SLAB, PG_slab); > > > diff --git a/include/linux/fs.h b/include/linux/fs.h > > > index 14a97194b34b..b7ef2e41fa4a 100644 > > > --- a/include/linux/fs.h > > > +++ b/include/linux/fs.h > > > @@...
2016 Mar 23
1
[PATCH v2 13/18] mm/compaction: support non-lru movable page migration
...@@ u64 stable_page_flags(struct page *page) > > > if (page_is_idle(page)) > > > u |= 1 << KPF_IDLE; > > > > > > + if (PageMovable(page)) > > > + u |= 1 << KPF_MOVABLE; > > > + > > > u |= kpf_copy_bit(k, KPF_LOCKED, PG_locked); > > > > > > u |= kpf_copy_bit(k, KPF_SLAB, PG_slab); > > > diff --git a/include/linux/fs.h b/include/linux/fs.h > > > index 14a97194b34b..b7ef2e41fa4a 100644 > > > --- a/include/linux/fs.h > > > +++ b/include/linux/fs.h > > > @@...
2016 Mar 22
2
[PATCH v2 13/18] mm/compaction: support non-lru movable page migration
...--- a/fs/proc/page.c > +++ b/fs/proc/page.c > @@ -157,6 +157,9 @@ u64 stable_page_flags(struct page *page) > if (page_is_idle(page)) > u |= 1 << KPF_IDLE; > > + if (PageMovable(page)) > + u |= 1 << KPF_MOVABLE; > + > u |= kpf_copy_bit(k, KPF_LOCKED, PG_locked); > > u |= kpf_copy_bit(k, KPF_SLAB, PG_slab); > diff --git a/include/linux/fs.h b/include/linux/fs.h > index 14a97194b34b..b7ef2e41fa4a 100644 > --- a/include/linux/fs.h > +++ b/include/linux/fs.h > @@ -401,6 +401,8 @@ struct address_space_operations { > */ > i...
2016 Mar 22
2
[PATCH v2 13/18] mm/compaction: support non-lru movable page migration
...--- a/fs/proc/page.c > +++ b/fs/proc/page.c > @@ -157,6 +157,9 @@ u64 stable_page_flags(struct page *page) > if (page_is_idle(page)) > u |= 1 << KPF_IDLE; > > + if (PageMovable(page)) > + u |= 1 << KPF_MOVABLE; > + > u |= kpf_copy_bit(k, KPF_LOCKED, PG_locked); > > u |= kpf_copy_bit(k, KPF_SLAB, PG_slab); > diff --git a/include/linux/fs.h b/include/linux/fs.h > index 14a97194b34b..b7ef2e41fa4a 100644 > --- a/include/linux/fs.h > +++ b/include/linux/fs.h > @@ -401,6 +401,8 @@ struct address_space_operations { > */ > i...
2016 Apr 04
0
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
...s/proc/page.c > >@@ -157,6 +157,9 @@ u64 stable_page_flags(struct page *page) > > if (page_is_idle(page)) > > u |= 1 << KPF_IDLE; > > > >+ if (PageMovable(page)) > >+ u |= 1 << KPF_MOVABLE; > >+ > > u |= kpf_copy_bit(k, KPF_LOCKED, PG_locked); > > > > u |= kpf_copy_bit(k, KPF_SLAB, PG_slab); > >diff --git a/include/linux/fs.h b/include/linux/fs.h > >index da9e67d937e5..36f2d610e7a8 100644 > >--- a/include/linux/fs.h > >+++ b/include/linux/fs.h > >@@ -401,6 +401,8 @@ struct address_space_oper...
2016 Apr 01
2
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
...--- a/fs/proc/page.c > +++ b/fs/proc/page.c > @@ -157,6 +157,9 @@ u64 stable_page_flags(struct page *page) > if (page_is_idle(page)) > u |= 1 << KPF_IDLE; > > + if (PageMovable(page)) > + u |= 1 << KPF_MOVABLE; > + > u |= kpf_copy_bit(k, KPF_LOCKED, PG_locked); > > u |= kpf_copy_bit(k, KPF_SLAB, PG_slab); > diff --git a/include/linux/fs.h b/include/linux/fs.h > index da9e67d937e5..36f2d610e7a8 100644 > --- a/include/linux/fs.h > +++ b/include/linux/fs.h > @@ -401,6 +401,8 @@ struct address_space_operations { > */ >...
2016 Apr 01
2
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
...--- a/fs/proc/page.c > +++ b/fs/proc/page.c > @@ -157,6 +157,9 @@ u64 stable_page_flags(struct page *page) > if (page_is_idle(page)) > u |= 1 << KPF_IDLE; > > + if (PageMovable(page)) > + u |= 1 << KPF_MOVABLE; > + > u |= kpf_copy_bit(k, KPF_LOCKED, PG_locked); > > u |= kpf_copy_bit(k, KPF_SLAB, PG_slab); > diff --git a/include/linux/fs.h b/include/linux/fs.h > index da9e67d937e5..36f2d610e7a8 100644 > --- a/include/linux/fs.h > +++ b/include/linux/fs.h > @@ -401,6 +401,8 @@ struct address_space_operations { > */ >...
2016 Mar 22
0
[PATCH v2 13/18] mm/compaction: support non-lru movable page migration
.../page.c > > @@ -157,6 +157,9 @@ u64 stable_page_flags(struct page *page) > > if (page_is_idle(page)) > > u |= 1 << KPF_IDLE; > > > > + if (PageMovable(page)) > > + u |= 1 << KPF_MOVABLE; > > + > > u |= kpf_copy_bit(k, KPF_LOCKED, PG_locked); > > > > u |= kpf_copy_bit(k, KPF_SLAB, PG_slab); > > diff --git a/include/linux/fs.h b/include/linux/fs.h > > index 14a97194b34b..b7ef2e41fa4a 100644 > > --- a/include/linux/fs.h > > +++ b/include/linux/fs.h > > @@ -401,6 +401,8 @@ struct address_spa...
2016 Apr 04
1
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
On 04/04/2016 07:12 AM, Minchan Kim wrote: > On Fri, Apr 01, 2016 at 11:29:14PM +0200, Vlastimil Babka wrote: >> Might have been better as a separate migration patch and then a >> compaction patch. It's prefixed mm/compaction, but most changed are >> in mm/migrate.c > > Indeed. The title is rather misleading but not sure it's a good idea > to separate
2016 Apr 04
1
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
On 04/04/2016 07:12 AM, Minchan Kim wrote: > On Fri, Apr 01, 2016 at 11:29:14PM +0200, Vlastimil Babka wrote: >> Might have been better as a separate migration patch and then a >> compaction patch. It's prefixed mm/compaction, but most changed are >> in mm/migrate.c > > Indeed. The title is rather misleading but not sure it's a good idea > to separate
2016 Apr 04
0
[PATCH v3 03/16] mm: add non-lru movable page support document
On Fri, Apr 01, 2016 at 04:38:34PM +0200, Vlastimil Babka wrote: > On 03/30/2016 09:12 AM, Minchan Kim wrote: > >This patch describes what a subsystem should do for non-lru movable > >page supporting. > > Intentionally reading this first without studying the code to better > catch things that would seem obvious otherwise. > > >Cc: Jonathan Corbet <corbet at
2016 Apr 01
2
[PATCH v3 03/16] mm: add non-lru movable page support document
On 03/30/2016 09:12 AM, Minchan Kim wrote: > This patch describes what a subsystem should do for non-lru movable > page supporting. Intentionally reading this first without studying the code to better catch things that would seem obvious otherwise. > Cc: Jonathan Corbet <corbet at lwn.net> > Signed-off-by: Minchan Kim <minchan at kernel.org> > --- >
2016 Apr 01
2
[PATCH v3 03/16] mm: add non-lru movable page support document
On 03/30/2016 09:12 AM, Minchan Kim wrote: > This patch describes what a subsystem should do for non-lru movable > page supporting. Intentionally reading this first without studying the code to better catch things that would seem obvious otherwise. > Cc: Jonathan Corbet <corbet at lwn.net> > Signed-off-by: Minchan Kim <minchan at kernel.org> > --- >
2016 Apr 04
1
[PATCH v3 03/16] mm: add non-lru movable page support document
On 04/04/2016 04:25 AM, Minchan Kim wrote: >> >> Ah, I see, so it's designed with page lock to handle the concurrent isolations etc. >> >> In http://marc.info/?l=linux-mm&m=143816716511904&w=2 Mel has warned >> about doing this in general under page_lock and suggested that each >> user handles concurrent calls to isolate_page() internally. Might be
2016 Apr 04
1
[PATCH v3 03/16] mm: add non-lru movable page support document
On 04/04/2016 04:25 AM, Minchan Kim wrote: >> >> Ah, I see, so it's designed with page lock to handle the concurrent isolations etc. >> >> In http://marc.info/?l=linux-mm&m=143816716511904&w=2 Mel has warned >> about doing this in general under page_lock and suggested that each >> user handles concurrent calls to isolate_page() internally. Might be
2016 Mar 30
0
[PATCH v3 02/16] mm/compaction: support non-lru movable page migration
...age.c index 3ecd445e830d..ce3d08a4ad8d 100644 --- a/fs/proc/page.c +++ b/fs/proc/page.c @@ -157,6 +157,9 @@ u64 stable_page_flags(struct page *page) if (page_is_idle(page)) u |= 1 << KPF_IDLE; + if (PageMovable(page)) + u |= 1 << KPF_MOVABLE; + u |= kpf_copy_bit(k, KPF_LOCKED, PG_locked); u |= kpf_copy_bit(k, KPF_SLAB, PG_slab); diff --git a/include/linux/fs.h b/include/linux/fs.h index da9e67d937e5..36f2d610e7a8 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -401,6 +401,8 @@ struct address_space_operations { */ int (*migratepage) (struct address_space *,...
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 Mar 21
0
[PATCH v2 13/18] mm/compaction: support non-lru movable page migration
...age.c index 712f1b9992cc..e2066e73a9b8 100644 --- a/fs/proc/page.c +++ b/fs/proc/page.c @@ -157,6 +157,9 @@ u64 stable_page_flags(struct page *page) if (page_is_idle(page)) u |= 1 << KPF_IDLE; + if (PageMovable(page)) + u |= 1 << KPF_MOVABLE; + u |= kpf_copy_bit(k, KPF_LOCKED, PG_locked); u |= kpf_copy_bit(k, KPF_SLAB, PG_slab); diff --git a/include/linux/fs.h b/include/linux/fs.h index 14a97194b34b..b7ef2e41fa4a 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -401,6 +401,8 @@ struct address_space_operations { */ int (*migratepage) (struct address_space *,...
2016 Apr 05
1
[PATCH v3 04/16] mm/balloon: use general movable page feature into balloon
On 03/30/2016 09:12 AM, Minchan Kim wrote: > Now, VM has a feature to migrate non-lru movable pages so > balloon doesn't need custom migration hooks in migrate.c > and compact.c. Instead, this patch implements page->mapping > ->{isolate|migrate|putback} functions. > > With that, we could remove hooks for ballooning in general > migration functions and make balloon
2016 Apr 05
1
[PATCH v3 04/16] mm/balloon: use general movable page feature into balloon
On 03/30/2016 09:12 AM, Minchan Kim wrote: > Now, VM has a feature to migrate non-lru movable pages so > balloon doesn't need custom migration hooks in migrate.c > and compact.c. Instead, this patch implements page->mapping > ->{isolate|migrate|putback} functions. > > With that, we could remove hooks for ballooning in general > migration functions and make balloon