[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090206125845.GC8559@sgi.com>
Date: Fri, 6 Feb 2009 06:58:45 -0600
From: Robin Holt <holt@....com>
To: Andrea Arcangeli <aarcange@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Christoph Lameter <cl@...ux-foundation.org>,
Robin Holt <holt@....com>, linux-mm@...ck.org,
Nick Piggin <npiggin@...e.de>, linux-kernel@...r.kernel.org
Subject: Re: [Patch] mmu_notifiers destroyed by __mmu_notifier_release()
retain extra mm_count.
On Fri, Feb 06, 2009 at 02:44:00AM +0100, Andrea Arcangeli wrote:
> simply. For a moment I thought unregister wasn't mandatory because at
> some point in one of the dozen versions of the api it wasn't, but in
You are right, I am remembering an older version of the API (which I
still like better, obviously ;) ). I also see the problems each choice
of API can cause. I think the current API is the more reasonable
choice. I have adjusted XPMEM to keep a copy of the mm_struct pointer
at register time with my own accompanying inc of mm_count and likewise
do the unregister and mmdrop(); This resolved my problem.
Sorry for the noise.
Andrew, could you throw this patch as away as quickly as possible.
Sorry for wasting your time.
Thanks,
Robin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists