Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765621AbYBAB4X (ORCPT ); Thu, 31 Jan 2008 20:56:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752797AbYBAB4O (ORCPT ); Thu, 31 Jan 2008 20:56:14 -0500 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:45752 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753097AbYBAB4N (ORCPT ); Thu, 31 Jan 2008 20:56:13 -0500 Date: Thu, 31 Jan 2008 19:56:12 -0600 From: Jack Steiner To: Christoph Lameter Cc: Andrea Arcangeli , Robin Holt , Avi Kivity , Izik Eidus , kvm-devel@lists.sourceforge.net, Peter Zijlstra , linux-kernel@vger.kernel.org, linux-mm@kvack.org, daniel.blueman@quadrics.com Subject: Re: [patch 1/3] mmu_notifier: Core code Message-ID: <20080201015611.GA15893@sgi.com> References: <20080131045750.855008281@sgi.com> <20080131045812.553249048@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080131045812.553249048@sgi.com> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 663 Lines: 21 > @@ -2033,6 +2034,7 @@ void exit_mmap(struct mm_struct *mm) > unsigned long end; > > /* mm's last user has gone, and its about to be pulled down */ > + mmu_notifier(invalidate_all, mm, 0); > arch_exit_mmap(mm); > The name of the "invalidate_all" callout is not very descriptive. Why not use "exit_mmap". That matches the function name, the arch callout and better describes what is happening. --- jack -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/