Re: [RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-19 Thread Nicolas Pitre
On Tue, 19 Mar 2013, Joonsoo Kim wrote: > On Thu, Mar 07, 2013 at 07:35:51PM +0900, JoonSoo Kim wrote: > > 2013/3/7 Nicolas Pitre : > > > On Thu, 7 Mar 2013, Joonsoo Kim wrote: > > > > > >> Hello, Nicolas. > > >> > > >> On Tue, Mar 05, 2013 at 05:36:12PM +0800, Nicolas Pitre wrote: > > >> > On

Re: [RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-19 Thread Nicolas Pitre
On Tue, 19 Mar 2013, Joonsoo Kim wrote: On Thu, Mar 07, 2013 at 07:35:51PM +0900, JoonSoo Kim wrote: 2013/3/7 Nicolas Pitre nicolas.pi...@linaro.org: On Thu, 7 Mar 2013, Joonsoo Kim wrote: Hello, Nicolas. On Tue, Mar 05, 2013 at 05:36:12PM +0800, Nicolas Pitre wrote: On Mon,

Re: [RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-18 Thread Joonsoo Kim
On Thu, Mar 07, 2013 at 07:35:51PM +0900, JoonSoo Kim wrote: > 2013/3/7 Nicolas Pitre : > > On Thu, 7 Mar 2013, Joonsoo Kim wrote: > > > >> Hello, Nicolas. > >> > >> On Tue, Mar 05, 2013 at 05:36:12PM +0800, Nicolas Pitre wrote: > >> > On Mon, 4 Mar 2013, Joonsoo Kim wrote: > >> > > >> > > With

Re: [RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-18 Thread Joonsoo Kim
On Thu, Mar 07, 2013 at 07:35:51PM +0900, JoonSoo Kim wrote: 2013/3/7 Nicolas Pitre nicolas.pi...@linaro.org: On Thu, 7 Mar 2013, Joonsoo Kim wrote: Hello, Nicolas. On Tue, Mar 05, 2013 at 05:36:12PM +0800, Nicolas Pitre wrote: On Mon, 4 Mar 2013, Joonsoo Kim wrote: With SMP

Re: [RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-07 Thread JoonSoo Kim
2013/3/7 Nicolas Pitre : > On Thu, 7 Mar 2013, Joonsoo Kim wrote: > >> Hello, Nicolas. >> >> On Tue, Mar 05, 2013 at 05:36:12PM +0800, Nicolas Pitre wrote: >> > On Mon, 4 Mar 2013, Joonsoo Kim wrote: >> > >> > > With SMP and enabling kmap_high_get(), it makes users of kmap_atomic() >> > >

Re: [RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-07 Thread Nicolas Pitre
On Thu, 7 Mar 2013, Joonsoo Kim wrote: > Hello, Nicolas. > > On Tue, Mar 05, 2013 at 05:36:12PM +0800, Nicolas Pitre wrote: > > On Mon, 4 Mar 2013, Joonsoo Kim wrote: > > > > > With SMP and enabling kmap_high_get(), it makes users of kmap_atomic() > > > sequential ordered, because

Re: [RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-07 Thread Joonsoo Kim
Hello, Nicolas. On Tue, Mar 05, 2013 at 05:36:12PM +0800, Nicolas Pitre wrote: > On Mon, 4 Mar 2013, Joonsoo Kim wrote: > > > With SMP and enabling kmap_high_get(), it makes users of kmap_atomic() > > sequential ordered, because kmap_high_get() use global kmap_lock(). > > It is not welcome

Re: [RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-07 Thread Joonsoo Kim
Hello, Nicolas. On Tue, Mar 05, 2013 at 05:36:12PM +0800, Nicolas Pitre wrote: On Mon, 4 Mar 2013, Joonsoo Kim wrote: With SMP and enabling kmap_high_get(), it makes users of kmap_atomic() sequential ordered, because kmap_high_get() use global kmap_lock(). It is not welcome situation, so

Re: [RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-07 Thread Nicolas Pitre
On Thu, 7 Mar 2013, Joonsoo Kim wrote: Hello, Nicolas. On Tue, Mar 05, 2013 at 05:36:12PM +0800, Nicolas Pitre wrote: On Mon, 4 Mar 2013, Joonsoo Kim wrote: With SMP and enabling kmap_high_get(), it makes users of kmap_atomic() sequential ordered, because kmap_high_get() use global

Re: [RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-07 Thread JoonSoo Kim
2013/3/7 Nicolas Pitre nicolas.pi...@linaro.org: On Thu, 7 Mar 2013, Joonsoo Kim wrote: Hello, Nicolas. On Tue, Mar 05, 2013 at 05:36:12PM +0800, Nicolas Pitre wrote: On Mon, 4 Mar 2013, Joonsoo Kim wrote: With SMP and enabling kmap_high_get(), it makes users of kmap_atomic()

Re: [RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-05 Thread Nicolas Pitre
On Mon, 4 Mar 2013, Joonsoo Kim wrote: > With SMP and enabling kmap_high_get(), it makes users of kmap_atomic() > sequential ordered, because kmap_high_get() use global kmap_lock(). > It is not welcome situation, so turn off this optimization for SMP. I'm not sure I understand the problem. The

Re: [RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-05 Thread Nicolas Pitre
On Mon, 4 Mar 2013, Joonsoo Kim wrote: With SMP and enabling kmap_high_get(), it makes users of kmap_atomic() sequential ordered, because kmap_high_get() use global kmap_lock(). It is not welcome situation, so turn off this optimization for SMP. I'm not sure I understand the problem. The

[RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-03 Thread Joonsoo Kim
With SMP and enabling kmap_high_get(), it makes users of kmap_atomic() sequential ordered, because kmap_high_get() use global kmap_lock(). It is not welcome situation, so turn off this optimization for SMP. Cc: Nicolas Pitre Signed-off-by: Joonsoo Kim diff --git

[RFC PATCH] ARM: mm: disable kmap_high_get() for SMP

2013-03-03 Thread Joonsoo Kim
With SMP and enabling kmap_high_get(), it makes users of kmap_atomic() sequential ordered, because kmap_high_get() use global kmap_lock(). It is not welcome situation, so turn off this optimization for SMP. Cc: Nicolas Pitre n...@linaro.org Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff