[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b040c32a0703231801h9a44344s2d0e0649b8ca4c4b@mail.gmail.com>
Date: Fri, 23 Mar 2007 18:01:49 -0700
From: "Ken Chen" <kenchen@...gle.com>
To: "Christoph Hellwig" <hch@...radead.org>,
"Ken Chen" <kenchen@...gle.com>,
"Andrew Morton" <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [patch] cache pipe buf page address for non-highmem arch
On 3/23/07, Christoph Hellwig <hch@...radead.org> wrote:
> I think you're fixing the symptom here and not the cause. If calculating
> the virtual address of a page is so expensive on your setup it should
> define WANT_PAGE_VIRTUAL and we should always cache the virtual address
> in struct page. There's a lot more code, epecially in filesystems that's
> rather upset about a slow page_address.
Adding WANT_PAGE_VIRTUAL would be too costly I think as it will expand
the sizeof struct page. I would rather go incremental fix on these
issues and not blindly increase page struct size.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists