Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 5 Sep 2002 17:36:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 5 Sep 2002 17:36:51 -0400 Received: from citi.umich.edu ([141.211.92.141]:1440 "HELO citi.umich.edu") by vger.kernel.org with SMTP id ; Thu, 5 Sep 2002 17:36:51 -0400 Message-ID: <3D77CF83.1020606@citi.umich.edu> Date: Thu, 05 Sep 2002 17:41:23 -0400 From: Chuck Lever User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901 X-Accept-Language: en-us MIME-Version: 1.0 To: Andrew Morton Cc: Trond Myklebust , Linux Kernel Mailing List Subject: Re: invalidate_inode_pages in 2.5.32/3 References: <3D77A22A.DC3F4D1@zip.com.au> <3D77ADC3.938C09F8@zip.com.au> <3D77BB7C.5F20939F@zip.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1479 Lines: 45 Andrew Morton wrote: > Trond Myklebust wrote: > >>>>>>>" " == Andrew Morton writes: >>>>>>> >> > You may have more success using the stronger >> > invalidate_inode_pages2(). >> >>Shouldn't make any difference. Chuck is seeing this on readdir() pages >>which, of course, don't suffer from problems of dirtiness etc on NFS. >> > > Well the VM will take a ref on the page during reclaim even if it > is clean. > > With what sort of frequency does this happen? If it's easily reproducible > then dunno. If it's once-an-hour then it may be page reclaim, conceivably. > The PageLRU debug test in there will tell us. this happens every time i run test6 on 2.5.32 or 2.5.33. the pages are not on the LRU, and are not locked, when the NFS client calls invalidate_inode_pages. how do these pages get into the page cache? answer: nfs_readdir_filler is invoked by read_cache_page to fill a page. when nfs_readdir_filler is invoked in 2.5.31, the page count on the page to be filled is always 2. when nfs_readdir_filler is invoked in 2.5.32+, the page count is very often 3, but occasionally it is 2. - Chuck Lever -- corporate: personal: - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/