Re: [PATCH 1/9] [I/OAT] DMA memcpy subsystem

From: Nathan Lynch
Date: Wed May 24 2006 - 02:31:22 EST


Andrew Morton wrote:
> Chris Leech <christopher.leech@xxxxxxxxx> wrote:
> >
> > + for_each_cpu(i)
>
> That's about to be deleted. Please use for_each_possible_cpu().
>
> That's if for_each_possible_cpu() is appropriate.

It is -- those loops traverse chan->local, which is alloc_percpu'd,
which allocates for all possible cpus.

-
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/