Re: [RFC] mm: Don't use radix tree writeback tags for pages in swap cache

2016-08-24 Thread Huang, Ying
"Huang, Ying" writes: > Hi, Dave, > > Dave Hansen writes: > >> On 08/09/2016 09:17 AM, Huang, Ying wrote: >>> File pages uses a set of radix tags (DIRTY, TOWRITE, WRITEBACK) to >>> accelerate finding the pages with the specific tag in the the radix

Re: [RFC] mm: Don't use radix tree writeback tags for pages in swap cache

2016-08-24 Thread Huang, Ying
"Huang, Ying" writes: > Hi, Dave, > > Dave Hansen writes: > >> On 08/09/2016 09:17 AM, Huang, Ying wrote: >>> File pages uses a set of radix tags (DIRTY, TOWRITE, WRITEBACK) to >>> accelerate finding the pages with the specific tag in the the radix tree >>> during writing back an inode. But

Re: [RFC] mm: Don't use radix tree writeback tags for pages in swap cache

2016-08-09 Thread Huang, Ying
Hi, Dave, Dave Hansen writes: > On 08/09/2016 09:17 AM, Huang, Ying wrote: >> File pages uses a set of radix tags (DIRTY, TOWRITE, WRITEBACK) to >> accelerate finding the pages with the specific tag in the the radix tree >> during writing back an inode. But for anonymous

Re: [RFC] mm: Don't use radix tree writeback tags for pages in swap cache

2016-08-09 Thread Huang, Ying
Hi, Dave, Dave Hansen writes: > On 08/09/2016 09:17 AM, Huang, Ying wrote: >> File pages uses a set of radix tags (DIRTY, TOWRITE, WRITEBACK) to >> accelerate finding the pages with the specific tag in the the radix tree >> during writing back an inode. But for anonymous pages in swap cache,

Re: [RFC] mm: Don't use radix tree writeback tags for pages in swap cache

2016-08-09 Thread Dave Hansen
On 08/09/2016 09:17 AM, Huang, Ying wrote: > File pages uses a set of radix tags (DIRTY, TOWRITE, WRITEBACK) to > accelerate finding the pages with the specific tag in the the radix tree > during writing back an inode. But for anonymous pages in swap cache, > there are no inode based writeback.

Re: [RFC] mm: Don't use radix tree writeback tags for pages in swap cache

2016-08-09 Thread Dave Hansen
On 08/09/2016 09:17 AM, Huang, Ying wrote: > File pages uses a set of radix tags (DIRTY, TOWRITE, WRITEBACK) to > accelerate finding the pages with the specific tag in the the radix tree > during writing back an inode. But for anonymous pages in swap cache, > there are no inode based writeback.

[RFC] mm: Don't use radix tree writeback tags for pages in swap cache

2016-08-09 Thread Huang, Ying
From: Huang Ying File pages uses a set of radix tags (DIRTY, TOWRITE, WRITEBACK) to accelerate finding the pages with the specific tag in the the radix tree during writing back an inode. But for anonymous pages in swap cache, there are no inode based writeback. So there

[RFC] mm: Don't use radix tree writeback tags for pages in swap cache

2016-08-09 Thread Huang, Ying
From: Huang Ying File pages uses a set of radix tags (DIRTY, TOWRITE, WRITEBACK) to accelerate finding the pages with the specific tag in the the radix tree during writing back an inode. But for anonymous pages in swap cache, there are no inode based writeback. So there is no need to find the