Re: [RFC contig pages support 1/2] IB: Supports contiguous memory operations

2016-01-04 Thread Vlastimil Babka
On 12/23/2015 05:30 PM, Shachar Raindel wrote: >>> >>> I completely agree, and this RFC was sent in order to start discussion >>> on this subject. >>> >>> Dear MM people, can you please advise on the subject? >>> >>> Multiple HW vendors, from different fields, ranging between embedded >> SoC >>>

Re: [RFC contig pages support 1/2] IB: Supports contiguous memory operations

2016-01-04 Thread Vlastimil Babka
[Sorry for resending, forgot to CC Minchan] On 12/23/2015 05:30 PM, Shachar Raindel wrote: >>> >>> I completely agree, and this RFC was sent in order to start discussion >>> on this subject. >>> >>> Dear MM people, can you please advise on the subject? >>> >>> Multiple HW vendors, from different

RE: [RFC contig pages support 1/2] IB: Supports contiguous memory operations

2015-12-23 Thread Shachar Raindel
> -Original Message- > From: Vlastimil Babka [mailto:vba...@suse.cz] > Sent: Tuesday, December 22, 2015 4:59 PM > > On 12/13/2015 01:48 PM, Shachar Raindel wrote: > > > > > >> -Original Message- > >> From: Christoph Hellwig [mailto:h...@infradead.org] > >> Sent: Wednesday,

Re: [RFC contig pages support 1/2] IB: Supports contiguous memory operations

2015-12-22 Thread Vlastimil Babka
On 12/13/2015 01:48 PM, Shachar Raindel wrote: -Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Wednesday, December 09, 2015 8:40 PM On Wed, Dec 09, 2015 at 10:00:02AM +, Shachar Raindel wrote: As far as gain is concerned, we are seeing gains in two

RE: [RFC contig pages support 1/2] IB: Supports contiguous memory operations

2015-12-13 Thread Shachar Raindel
> -Original Message- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Wednesday, December 09, 2015 8:40 PM > > On Wed, Dec 09, 2015 at 10:00:02AM +, Shachar Raindel wrote: > > As far as gain is concerned, we are seeing gains in two cases here: > > 1. If the system has

RE: [RFC contig pages support 1/2] IB: Supports contiguous memory operations

2015-12-09 Thread Shachar Raindel
ledf...@redhat.com; linux- > r...@vger.kernel.org; Or Gerlitz <ogerl...@mellanox.com>; Tal Alon > <ta...@mellanox.com>; linux...@kvack.org > Subject: Re: [RFC contig pages support 1/2] IB: Supports contiguous > memory operations > > On Tue, Dec 08, 2015 at 07:18:52AM -0800,

Re: [RFC contig pages support 1/2] IB: Supports contiguous memory operations

2015-12-09 Thread Jason Gunthorpe
On Wed, Dec 09, 2015 at 10:00:02AM +, Shachar Raindel wrote: > > Yes please. > Note that other HW vendors are developing similar solutions, see for > example: >

Re: [RFC contig pages support 1/2] IB: Supports contiguous memory operations

2015-12-09 Thread Christoph Hellwig
On Wed, Dec 09, 2015 at 10:00:02AM +, Shachar Raindel wrote: > As far as gain is concerned, we are seeing gains in two cases here: > 1. If the system has lots of non-fragmented, free memory, you can create > large contig blocks that are above the CPU huge page size. > 2. If the system memory

Re: [RFC contig pages support 1/2] IB: Supports contiguous memory operations

2015-12-08 Thread Christoph Hellwig
There is absolutely nothing IB specific here. If you want to support anonymous mmaps to allocate large contiguous pages work with the MM folks on providing that in a generic fashion. [full quote alert for reference:] On Tue, Dec 08, 2015 at 05:15:06PM +0200, Yishai Hadas wrote: > New structure

Re: [RFC contig pages support 1/2] IB: Supports contiguous memory operations

2015-12-08 Thread Jason Gunthorpe
On Tue, Dec 08, 2015 at 07:18:52AM -0800, Christoph Hellwig wrote: > There is absolutely nothing IB specific here. If you want to support > anonymous mmaps to allocate large contiguous pages work with the MM > folks on providing that in a generic fashion. Yes please. We already have huge page