From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f45.google.com (mail-qa0-f45.google.com [209.85.216.45]) by kanga.kvack.org (Postfix) with ESMTP id 68B1E6B0035 for ; Thu, 17 Jul 2014 14:47:14 -0400 (EDT) Received: by mail-qa0-f45.google.com with SMTP id cm18so2165641qab.4 for ; Thu, 17 Jul 2014 11:47:14 -0700 (PDT) Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [2607:f8b0:400d:c00::22d]) by mx.google.com with ESMTPS id a6si6454130qam.0.2014.07.17.11.47.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Jul 2014 11:47:13 -0700 (PDT) Received: by mail-qa0-f45.google.com with SMTP id cm18so2182447qab.18 for ; Thu, 17 Jul 2014 11:47:13 -0700 (PDT) From: j.glisse@gmail.com Subject: mmu_notifier: preparatory patches for hmm and or iommuv2 v6 Date: Thu, 17 Jul 2014 14:46:46 -0400 Message-Id: <1405622809-3797-1-git-send-email-j.glisse@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org Cc: Linus Torvalds , joro@8bytes.org, Mel Gorman , "H. Peter Anvin" , Peter Zijlstra , Andrea Arcangeli , Johannes Weiner , Larry Woodman , Rik van Riel , Dave Airlie , Brendan Conoboy , Joe Donohue , Duncan Poole , Sherry Cheung , Subhash Gutti , John Hubbard , Mark Hairgrove , Lucien Dunning , Cameron Buschardt , Arvind Gopalakrishnan , Shachar Raindel , Liran Liss , Roland Dreier , Ben Sander , Greg Stoner , John Bridgman , Michael Mantor , Paul Blinzer , Laurent Morichetti , Alexander Deucher , Oded Gabbay Nutshell few patches to improve mmu_notifier : - patch 1/3 allow to free resources when mm_struct is destroy. - patch 2/3 provide context informations to mmu_notifier listener. - patch 3/3 pass vma to range_start/range_end to avoid duplicate vma lookup inside the listener. I restricted myself to set of less controversial patches and i believe i have addressed all comments that were previously made. Thanks again for all feedback, i hope this version is the good one. This is somewhat of a v5 but i do not include core hmm with those patches. So previous discussion thread : v1 http://www.spinics.net/lists/linux-mm/msg72501.html v2 http://www.spinics.net/lists/linux-mm/msg74532.html v3 http://www.spinics.net/lists/linux-mm/msg74656.html v4 http://www.spinics.net/lists/linux-mm/msg75401.html v5 http://www.spinics.net/lists/linux-mm/msg75875.html Cheers, JA(C)rA'me Glisse -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org