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

From: Christoph Hellwig
Date: Tue Apr 06 2004 - 00:17:03 EST


On Mon, Apr 05, 2004 at 09:43:30PM -0700, Andrew Morton wrote:
> Andrea Arcangeli <andrea@xxxxxxx> 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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/