Re: [LSF/MM TOPIC] Page flags, can we free up space ?

2019-01-30 Thread David Hildenbrand
On 22.01.19 21:17, Jerome Glisse wrote: > So lattely i have been looking at page flags and we are using 6 flags > for memory reclaim and compaction: > > PG_referenced > PG_lru > PG_active > PG_workingset > PG_reclaim > PG_unevictable > > On top of which you can add the

Re: [LSF/MM TOPIC] Page flags, can we free up space ?

2019-01-22 Thread Mike Kravetz
On 1/22/19 12:17 PM, Jerome Glisse wrote: > So lattely i have been looking at page flags and we are using 6 flags > for memory reclaim and compaction: > > PG_referenced > PG_lru > PG_active > PG_workingset > PG_reclaim > PG_unevictable > > On top of which you can add the

Re: [LSF/MM TOPIC] Page flags, can we free up space ?

2019-01-22 Thread Jerome Glisse
On Tue, Jan 22, 2019 at 01:44:15PM -0800, Andi Kleen wrote: > Jerome Glisse writes: > > > > Right now this is more a temptative ie i do not know if i will succeed, > > in any case i can report on failure or success and discuss my finding to > > get people opinions on the matter. > > I would just

Re: [LSF/MM TOPIC] Page flags, can we free up space ?

2019-01-22 Thread Andi Kleen
Jerome Glisse writes: > > Right now this is more a temptative ie i do not know if i will succeed, > in any case i can report on failure or success and discuss my finding to > get people opinions on the matter. I would just stop putting node/zone number into the flags. These could be all handled

[LSF/MM TOPIC] Page flags, can we free up space ?

2019-01-22 Thread Jerome Glisse
So lattely i have been looking at page flags and we are using 6 flags for memory reclaim and compaction: PG_referenced PG_lru PG_active PG_workingset PG_reclaim PG_unevictable On top of which you can add the page anonymous flag (anonymous or share memory) PG_anon //