Messages in this thread | | | Date | Wed, 24 May 2006 01:31:49 -0500 | From | Nathan Lynch <> | Subject | Re: [PATCH 1/9] [I/OAT] DMA memcpy subsystem |
| |
Andrew Morton wrote: > Chris Leech <christopher.leech@intel.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |