Re: [RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2015-01-20 Thread Sergey Dyasly
On Sun, 04 Jan 2015 17:38:06 +0100 Arnd Bergmann wrote: > On Saturday 03 January 2015 18:59:46 Sergey Dyasly wrote: > > Hi Arnd, > > > > First, some background information. We originally encountered high > > fragmentation > > issue in vmalloc area: > > > > 1. Total size of vmalloc area

Re: [RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2015-01-20 Thread Sergey Dyasly
On Sun, 04 Jan 2015 17:38:06 +0100 Arnd Bergmann a...@arndb.de wrote: On Saturday 03 January 2015 18:59:46 Sergey Dyasly wrote: Hi Arnd, First, some background information. We originally encountered high fragmentation issue in vmalloc area: 1. Total size of vmalloc area was

Re: [RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2015-01-04 Thread Arnd Bergmann
On Saturday 03 January 2015 18:59:46 Sergey Dyasly wrote: > Hi Arnd, > > First, some background information. We originally encountered high > fragmentation > issue in vmalloc area: > > 1. Total size of vmalloc area was 400 MB. > 2. 200 MB of vmalloc area was consumed by ioremaps of

Re: [RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2015-01-04 Thread Arnd Bergmann
On Saturday 03 January 2015 18:59:46 Sergey Dyasly wrote: Hi Arnd, First, some background information. We originally encountered high fragmentation issue in vmalloc area: 1. Total size of vmalloc area was 400 MB. 2. 200 MB of vmalloc area was consumed by ioremaps of various

Re: [RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2015-01-03 Thread Sergey Dyasly
Hi Arnd, First, some background information. We originally encountered high fragmentation issue in vmalloc area: 1. Total size of vmalloc area was 400 MB. 2. 200 MB of vmalloc area was consumed by ioremaps of various sizes. 3. Largest contiguous chunk of vmalloc area was

Re: [RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2015-01-03 Thread Sergey Dyasly
Hi Arnd, First, some background information. We originally encountered high fragmentation issue in vmalloc area: 1. Total size of vmalloc area was 400 MB. 2. 200 MB of vmalloc area was consumed by ioremaps of various sizes. 3. Largest contiguous chunk of vmalloc area was

Re: [RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2014-12-28 Thread Arnd Bergmann
On Tuesday 23 December 2014 13:00:13 Dmitry Safonov wrote: > ioremap uses __get_vm_area_node which sets alignment to fls of requested size. > I couldn't find any reason for such big align. Does it decrease TLB misses? > I tested it on custom ARM board with 200+ Mb of ioremap and it works. > What

Re: [RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2014-12-28 Thread Arnd Bergmann
On Tuesday 23 December 2014 13:00:13 Dmitry Safonov wrote: ioremap uses __get_vm_area_node which sets alignment to fls of requested size. I couldn't find any reason for such big align. Does it decrease TLB misses? I tested it on custom ARM board with 200+ Mb of ioremap and it works. What am I

[RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2014-12-23 Thread Dmitry Safonov
ioremap uses __get_vm_area_node which sets alignment to fls of requested size. I couldn't find any reason for such big align. Does it decrease TLB misses? I tested it on custom ARM board with 200+ Mb of ioremap and it works. What am I missing? Alignment restriction for ioremap region was

[RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2014-12-23 Thread Dmitry Safonov
ioremap uses __get_vm_area_node which sets alignment to fls of requested size. I couldn't find any reason for such big align. Does it decrease TLB misses? I tested it on custom ARM board with 200+ Mb of ioremap and it works. What am I missing? Alignment restriction for ioremap region was