Re: [PATCH] 2/5: Device-mapper: kcopyd

From: Alasdair G Kergon
Date: Thu Jun 03 2004 - 08:29:55 EST


On Wed, Jun 02, 2004 at 08:41:26PM -0700, Andrew Morton wrote:
> What is the page pool for?

On the I/O path it can't wait for pages to be allocated without
risking deadlock. (cf. pvmove in 2.4)


> Why are the pooled pages locked?

I can't see that having any effect (i.e. unnecessary).


> > +static int __init jobs_init(void)
> > + INIT_LIST_HEAD(&_complete_jobs);
> > + INIT_LIST_HEAD(&_io_jobs);
> > + INIT_LIST_HEAD(&_pages_jobs);

> Do these lists need to be initialised a second time?

No:-)


Alasdair
--
agk@xxxxxxxxxx
-
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/