Re: [PATCH 00/16] IB/hfi1: Add a page pinning cache for PSM sdma

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 9, 2016 at 9:21 PM, Dennis Dalessandro
<dennis.dalessandro@xxxxxxxxx> wrote:

> We should not be putting something which is specific to PSM in the IB core.
> We feel the driver is the most appropriate place for this.


Actually, the cache itself belongs to user space.

What is needed in the kernel is code that uses MMU notifications to
invalidate the cache when munmap and friends
were done on a cache entry. This is too generic functionality that you
can add to the IB core which does have a char device
or (better) to a generic char device you will write and PSM to use.
There have been some works on that in the 2000s, look
for code from Roland Dreier and/or Pete Wyckoff

Or.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux