lkml.org 
[lkml]   [2004]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2/5: Device-mapper: kcopyd
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@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [from the cache]
©2003-2011 Jasper Spaans