Re: [RFC] A couple of questions about the paged I/O sub system

2015-10-23 Thread Ian Kent
On Thu, 2015-10-22 at 18:54 -0700, Hugh Dickins wrote: > On Thu, 22 Oct 2015, Ian Kent wrote: > > On Wed, 2015-10-21 at 12:56 -0700, Hugh Dickins wrote: > > > On Wed, 21 Oct 2015, Ian Kent wrote: > > > > Thanks for taking the time to reply Hugh. > > > > > > > > > Hi all, > > > > > > > > I've

Re: [RFC] A couple of questions about the paged I/O sub system

2015-10-23 Thread Ian Kent
On Thu, 2015-10-22 at 18:54 -0700, Hugh Dickins wrote: > On Thu, 22 Oct 2015, Ian Kent wrote: > > On Wed, 2015-10-21 at 12:56 -0700, Hugh Dickins wrote: > > > On Wed, 21 Oct 2015, Ian Kent wrote: > > > > Thanks for taking the time to reply Hugh. > > > > > > > > > Hi all, > > > > > > > > I've

Re: [RFC] A couple of questions about the paged I/O sub system

2015-10-22 Thread Hugh Dickins
On Thu, 22 Oct 2015, Ian Kent wrote: > On Wed, 2015-10-21 at 12:56 -0700, Hugh Dickins wrote: > > On Wed, 21 Oct 2015, Ian Kent wrote: > > Thanks for taking the time to reply Hugh. > > > > > > Hi all, > > > > > > I've been looking through some of the page reclaim code and at > > >

Re: [RFC] A couple of questions about the paged I/O sub system

2015-10-22 Thread Hugh Dickins
On Thu, 22 Oct 2015, Ian Kent wrote: > On Wed, 2015-10-21 at 12:56 -0700, Hugh Dickins wrote: > > On Wed, 21 Oct 2015, Ian Kent wrote: > > Thanks for taking the time to reply Hugh. > > > > > > Hi all, > > > > > > I've been looking through some of the page reclaim code and at > > >

Re: [RFC] A couple of questions about the paged I/O sub system

2015-10-21 Thread Ian Kent
On Wed, 2015-10-21 at 12:56 -0700, Hugh Dickins wrote: > On Wed, 21 Oct 2015, Ian Kent wrote: Thanks for taking the time to reply Hugh. > > > Hi all, > > > > I've been looking through some of the page reclaim code and at > > truncate_inode_pages(). > > > > I'm not familiar with the code and

Re: [RFC] A couple of questions about the paged I/O sub system

2015-10-21 Thread Hugh Dickins
On Wed, 21 Oct 2015, Ian Kent wrote: > Hi all, > > I've been looking through some of the page reclaim code and at > truncate_inode_pages(). > > I'm not familiar with the code and I'm struggling to understand it. > > One thing that is puzzling me right now is, if a file has pages that > have

[RFC] A couple of questions about the paged I/O sub system

2015-10-21 Thread Ian Kent
Hi all, I've been looking through some of the page reclaim code and at truncate_inode_pages(). I'm not familiar with the code and I'm struggling to understand it. One thing that is puzzling me right now is, if a file has pages that have been modified and are swapped out when

Re: [RFC] A couple of questions about the paged I/O sub system

2015-10-21 Thread Hugh Dickins
On Wed, 21 Oct 2015, Ian Kent wrote: > Hi all, > > I've been looking through some of the page reclaim code and at > truncate_inode_pages(). > > I'm not familiar with the code and I'm struggling to understand it. > > One thing that is puzzling me right now is, if a file has pages that > have

Re: [RFC] A couple of questions about the paged I/O sub system

2015-10-21 Thread Ian Kent
On Wed, 2015-10-21 at 12:56 -0700, Hugh Dickins wrote: > On Wed, 21 Oct 2015, Ian Kent wrote: Thanks for taking the time to reply Hugh. > > > Hi all, > > > > I've been looking through some of the page reclaim code and at > > truncate_inode_pages(). > > > > I'm not familiar with the code and

[RFC] A couple of questions about the paged I/O sub system

2015-10-21 Thread Ian Kent
Hi all, I've been looking through some of the page reclaim code and at truncate_inode_pages(). I'm not familiar with the code and I'm struggling to understand it. One thing that is puzzling me right now is, if a file has pages that have been modified and are swapped out when