Re: [RFC][PATCH 1/3] radix priority search tree - objrmap complexity fix

Christoph Hellwig
2004-04-06T05:14:56Z

On Mon, Apr 05, 2004 at 09:43:30PM -0700, Andrew Morton wrote:
> Andrea Arcangeli <andrea@suse.de> wrote:
> >
> > Then there's the pagebuf_associate_memory that rings
> > an extremely *loud* bell, pagebuf_get_no_daddr and XBUF_SET_PTR sounds
> > even more, then I go on with xlog_get_bp and tons of other things doing
> > pagebuf I/O with kmalloced memory with variable size of the kmalloc. Too
> > many concidences for this not being an xfs bug.
>
> It does pagebuf I/O with kmalloced memory? Wow. Pretty much anything
> which goes from kmalloc virtual addresses back to pageframes is a big fat
> warning sign.

It's for the log I/O. I thought about doign __get_free_page for it but that
would waste a lot of memory.