Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)
- From: Robin Holt <holt@xxxxxxx>
- Date: Wed, 20 Feb 2008 03:05:48 -0600
On Wed, Feb 20, 2008 at 03:00:36AM -0600, Robin Holt wrote:
On Wed, Feb 20, 2008 at 02:51:45PM +1100, Nick Piggin wrote:
On Wednesday 20 February 2008 14:12, Robin Holt wrote:
For XPMEM, we do not currently allow file backed
mapping pages from being exported so we should never reach this condition.
It has been an issue since day 1. We have operated with that assumption
for 6 years and have not had issues with that assumption. The user of
xpmem is MPT and it controls the communication buffers so it is reasonable
to expect this type of behavior.
OK, that makes things simpler.
So why can't you export a device from your xpmem driver, which
can be mmap()ed to give out "anonymous" memory pages to be used
for these communication buffers?
Because we need to have heap and stack available as well. MPT does
not control all the communication buffer areas. I haven't checked, but
this is the same problem that IB will have. I believe they are actually
allowing any memory region be accessible, but I am not sure of that.
I should have read my work email first. I had gotten an email from
one of our MPT developers saying they would love it if they could share
file backed memory areas as well as it would help them with their MPI-IO
functions which currently need to do multiple copy steps. Not sure how
high of a priority I am going to be able to make that.
Thanks,
Robin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [patch 0/6] MMU Notifiers V7
- From: Christoph Lameter
- Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)
- From: Nick Piggin
- Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)
- From: Robin Holt
- Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)
- From: Nick Piggin
- Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)
- From: Robin Holt
- [patch 0/6] MMU Notifiers V7
- Prev by Date: Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)
- Next by Date: Re: [PATCH] x86: add the debugfs interface for the sysprof tool
- Previous by thread: Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)
- Next by thread: Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)
- Index(es):
Relevant Pages
|