On Thu, 3 Apr 2008, Andrea Arcangeli wrote:
> I said try_to_unmap_cluster, not get_user_pages.
>
> CPU0CPU1
> try_to_unmap_cluster:
> emm_invalidate_start in EMM (or mmu_notifier_invalidate_range_start in #v10)
> walking the list by hand in EMM (or
On Wed, Apr 02, 2008 at 02:54:52PM -0700, Christoph Lameter wrote:
> On Wed, 2 Apr 2008, Andrea Arcangeli wrote:
>
> > > Hmmm... Okay that is one solution that would just require a BUG_ON in the
> > > registration methods.
> >
> > Perhaps you didn't notice that this solution can't work if you ca
On Wed, 2 Apr 2008, Andrea Arcangeli wrote:
> > Hmmm... Okay that is one solution that would just require a BUG_ON in the
> > registration methods.
>
> Perhaps you didn't notice that this solution can't work if you call
> range_begin/end not in the "current" context and try_to_unmap_cluster
> do
On Wed, Apr 02, 2008 at 10:59:50AM -0700, Christoph Lameter wrote:
> Did I see #v10? Could you start a new subject when you post please? Do
> not respond to some old message otherwise the threading will be wrong.
I wasn't clear enough, #v10 was in the works... I was thinking about
the last two is
On Wed, 2 Apr 2008, Andrea Arcangeli wrote:
> There are much bigger issues besides the rcu safety in this patch,
> proper aging of the secondary mmu through access bits set by hardware
> is unfixable with this model (you would need to do age |=
> e->callback), which is the proof of why this isn't
I must have missed v10. Could you repost so I can build xpmem
against it to see how it operates? To help reduce confusion, you should
probably comandeer the patches from Christoph's set which you think are
needed to make it sleep.
Thanks,
Robin
On Wed, Apr 02, 2008 at 01:16:51PM +0200, Andrea
On Wed, Apr 02, 2008 at 05:59:25AM -0500, Robin Holt wrote:
> On Wed, Apr 02, 2008 at 08:49:52AM +0200, Andrea Arcangeli wrote:
> > Most other patches will apply cleanly on top of my coming mmu
> > notifiers #v10 that I hope will go in -mm.
> >
> > For #v10 the only two left open issues to discuss
On Wed, Apr 02, 2008 at 08:49:52AM +0200, Andrea Arcangeli wrote:
> Most other patches will apply cleanly on top of my coming mmu
> notifiers #v10 that I hope will go in -mm.
>
> For #v10 the only two left open issues to discuss are:
Does your v10 allow sleeping inside the callbacks?
Thanks,
Rob
On Tue, Apr 01, 2008 at 01:55:32PM -0700, Christoph Lameter wrote:
> +/* Perform a callback */
> +int __emm_notify(struct mm_struct *mm, enum emm_operation op,
> + unsigned long start, unsigned long end)
> +{
> + struct emm_notifier *e = rcu_dereference(mm)->emm_notifier;
> + in
This patch implements a simple callback for device drivers that establish
their own references to pages (KVM, GRU, XPmem, RDMA/Infiniband, DMA engines
etc). These references are unknown to the VM (therefore external).
With these callbacks it is possible for the device driver to release external
re
10 matches
Mail list logo