Re: [PATCH v3 2/2] lib/scatterlist: use page iterator in the mapping iterator

2013-02-23 Thread Stephen Warren
On Sat, 23 Feb 2013 22:04:06 +0200, Imre Deak wrote: > On Fri, 2013-02-22 at 21:29 -0700, Stephen Warren wrote: >> On 02/13/2013 08:10 AM, Imre Deak wrote: >>> For better code reuse use the newly added page iterator to iterate >>> through the pages. The offset, length within the page is still >>>

Re: [PATCH v3 2/2] lib/scatterlist: use page iterator in the mapping iterator

2013-02-23 Thread Imre Deak
On Fri, 2013-02-22 at 21:29 -0700, Stephen Warren wrote: > On 02/13/2013 08:10 AM, Imre Deak wrote: > > For better code reuse use the newly added page iterator to iterate > > through the pages. The offset, length within the page is still > > calculated by the mapping iterator as well as the actual

Re: [PATCH v3 2/2] lib/scatterlist: use page iterator in the mapping iterator

2013-02-23 Thread Imre Deak
On Fri, 2013-02-22 at 21:29 -0700, Stephen Warren wrote: On 02/13/2013 08:10 AM, Imre Deak wrote: For better code reuse use the newly added page iterator to iterate through the pages. The offset, length within the page is still calculated by the mapping iterator as well as the actual

Re: [PATCH v3 2/2] lib/scatterlist: use page iterator in the mapping iterator

2013-02-23 Thread Stephen Warren
On Sat, 23 Feb 2013 22:04:06 +0200, Imre Deak wrote: On Fri, 2013-02-22 at 21:29 -0700, Stephen Warren wrote: On 02/13/2013 08:10 AM, Imre Deak wrote: For better code reuse use the newly added page iterator to iterate through the pages. The offset, length within the page is still calculated

Re: [PATCH v3 2/2] lib/scatterlist: use page iterator in the mapping iterator

2013-02-22 Thread Stephen Warren
On 02/13/2013 08:10 AM, Imre Deak wrote: > For better code reuse use the newly added page iterator to iterate > through the pages. The offset, length within the page is still > calculated by the mapping iterator as well as the actual mapping. > Idea from Tejun Heo . This patch appears in

Re: [PATCH v3 2/2] lib/scatterlist: use page iterator in the mapping iterator

2013-02-22 Thread Stephen Warren
On 02/13/2013 08:10 AM, Imre Deak wrote: For better code reuse use the newly added page iterator to iterate through the pages. The offset, length within the page is still calculated by the mapping iterator as well as the actual mapping. Idea from Tejun Heo t...@kernel.org. This patch appears

Re: dw_mmc build broken in next-20130220 (was Re: [PATCH v3 2/2] lib/scatterlist: use page iterator in the mapping iterator)

2013-02-20 Thread Imre Deak
On Wed, 2013-02-20 at 16:42 +, James Hogan wrote: > On 13 February 2013 15:10, Imre Deak wrote: > > For better code reuse use the newly added page iterator to iterate > > through the pages. The offset, length within the page is still > > calculated by the mapping iterator as well as the

dw_mmc build broken in next-20130220 (was Re: [PATCH v3 2/2] lib/scatterlist: use page iterator in the mapping iterator)

2013-02-20 Thread James Hogan
On 13 February 2013 15:10, Imre Deak wrote: > For better code reuse use the newly added page iterator to iterate > through the pages. The offset, length within the page is still > calculated by the mapping iterator as well as the actual mapping. > Idea from Tejun Heo . > > Signed-off-by: Imre

dw_mmc build broken in next-20130220 (was Re: [PATCH v3 2/2] lib/scatterlist: use page iterator in the mapping iterator)

2013-02-20 Thread James Hogan
On 13 February 2013 15:10, Imre Deak imre.d...@intel.com wrote: For better code reuse use the newly added page iterator to iterate through the pages. The offset, length within the page is still calculated by the mapping iterator as well as the actual mapping. Idea from Tejun Heo

Re: dw_mmc build broken in next-20130220 (was Re: [PATCH v3 2/2] lib/scatterlist: use page iterator in the mapping iterator)

2013-02-20 Thread Imre Deak
On Wed, 2013-02-20 at 16:42 +, James Hogan wrote: On 13 February 2013 15:10, Imre Deak imre.d...@intel.com wrote: For better code reuse use the newly added page iterator to iterate through the pages. The offset, length within the page is still calculated by the mapping iterator as well

[PATCH v3 2/2] lib/scatterlist: use page iterator in the mapping iterator

2013-02-13 Thread Imre Deak
For better code reuse use the newly added page iterator to iterate through the pages. The offset, length within the page is still calculated by the mapping iterator as well as the actual mapping. Idea from Tejun Heo . Signed-off-by: Imre Deak --- include/linux/scatterlist.h |6 +++---

[PATCH v3 2/2] lib/scatterlist: use page iterator in the mapping iterator

2013-02-13 Thread Imre Deak
For better code reuse use the newly added page iterator to iterate through the pages. The offset, length within the page is still calculated by the mapping iterator as well as the actual mapping. Idea from Tejun Heo t...@kernel.org. Signed-off-by: Imre Deak imre.d...@intel.com ---