From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Jambor Subject: Re: pagevec_lookup_tag() and pagevec_release() substitutes and an OOM Date: Wed, 8 Feb 2006 06:01:09 +0100 Message-ID: <9615ac9b0602072101i527eac16jfb956a9437df493d@mail.gmail.com> References: <9615ac9b0602071629y5054dc07w8d1f18e070b0b01f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Return-path: Received: from xproxy.gmail.com ([66.249.82.200]:53281 "EHLO xproxy.gmail.com") by vger.kernel.org with ESMTP id S1030343AbWBHFBK convert rfc822-to-8bit (ORCPT ); Wed, 8 Feb 2006 00:01:10 -0500 Received: by xproxy.gmail.com with SMTP id s14so1074273wxc for ; Tue, 07 Feb 2006 21:01:09 -0800 (PST) To: Linux FS Development List In-Reply-To: <9615ac9b0602071629y5054dc07w8d1f18e070b0b01f@mail.gmail.com> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Please disregard my previous post, I have found the bug right at the spot where I've been starring for the last two days. (I knew this would happen, I am sorry but I guess if I didn't send the mail, it would take me even longer to discover what was going on). The trouble was I was not removing pages from LRU and mm didn't like that. However, why are not pagevec functions exported for modules? They seem very useful and I hate to cut and paste stuff. Thanks very much anyway, Martin On 2/8/06, Martin Jambor wrote: > Hi all, > > I am implementing aops->writepages of a filesystem and for various > reasons I cannot use mpage_writepages. On the other hand, I would like > to do be able to get a vector of pages and process it page by page (in > my way) just like mpage_writepages gets pages...