Re: [PATCH] libibverbs: Add huge page support to ibv_madvise_range()

2010-04-22 Thread Alex Vainman
Roland Dreier Wrote: ibv_reg_mr() fails to register a memory region allocated on huge page and not the default page size. This happens because ibv_madvise_range() aligns memory region to the default system page size before calling to madvise() which fails with EINVAL error.

[PATCH] ummunotify: Userspace support for MMU notifications V2

2010-04-22 Thread Eric B Munson
From: Roland Dreier rola...@cisco.com As discussed in http://article.gmane.org/gmane.linux.drivers.openib/61925 and follow-up messages, libraries using RDMA would like to track precisely when application code changes memory mapping via free(), munmap(), etc. Current pure-userspace solutions

RE: [PATCH] RDMA/nes: make nesadapter-phy_lock usage consistent

2010-04-22 Thread Tung, Chien Tin
By the way, any problem with me merging the following trivial patch for 2.6.35? Please do. Thank you. Chien RDMA/nes: Make unnecessarily global functions static This allows the compiler to do a bit better; on my x86-64 build: add/remove: 0/2 grow/shrink: 1/0 up/down: 2288/-2365 (-77)

Re: opensm with multiple IB subnets

2010-04-22 Thread Justin Clift
We should really put this on the wiki. :) On 04/22/2010 12:56 AM, Yevgeny Kliteynik wrote: snip OpenSM dumps various files to /var/log and /var/cache/opensm folders. When you have more than one OpenSM process, they will all dump the same files, which is probably not a good idea. To change the

Re: opensm with multiple IB subnets

2010-04-22 Thread Yevgeny Kliteynik
On 4/22/2010 5:23 PM, Justin Clift wrote: We should really put this on the wiki. :) Good idea :) -- Yevgeny On 04/22/2010 12:56 AM, Yevgeny Kliteynik wrote: snip OpenSM dumps various files to /var/log and /var/cache/opensm folders. When you have more than one OpenSM process, they will

Re: [PATCH 2/4] ib_core: implement XRC RCV qp's

2010-04-22 Thread Roland Dreier
So I'm looking at merging this, and I'm wondering about one thing. Seems like it's just a mistake but I want to make sure I understand properly: @@ -1078,6 +1079,7 @@ ssize_t ib_uverbs_create_qp(struct ib_uverbs_file *file, goto err_put; } +attr.create_flags

Re: [PATCH v3 1/2] libibnetdisc: Convert to a multi-smp algorithm

2010-04-22 Thread Ira Weiny
On Tue, 13 Apr 2010 16:25:31 +0300 Sasha Khapyorsky sas...@voltaire.com wrote: On 13:46 Tue 13 Apr , Sasha Khapyorsky wrote: However see some comments and questions below. Another thought. What about API like: ibnd_discover_fabric(cosnt char *ca_name, unsigned port_num,