From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id AC581B7CBD for ; Thu, 25 Mar 2010 19:28:22 +1100 (EST) Subject: Re: [PATCH 1/2] mm/vmalloc: Export purge_vmap_area_lazy() From: Benjamin Herrenschmidt To: Nick Piggin In-Reply-To: <20100325052814.GA7493@laptop.nomadix.com> References: <1269417391.8599.188.camel@pasglop> <20100325052814.GA7493@laptop.nomadix.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 25 Mar 2010 19:25:59 +1100 Message-ID: <1269505559.8599.239.camel@pasglop> Mime-Version: 1.0 Cc: "linux-mm@kvack.org" , linuxppc-dev , "linux-kernel@vger.kernel.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > You want vm_unmap_aliases(), which also flushes entries in the > per-cpu vmap allocator (and is already exported for other code > that has similar problems). Ok, I missed that one. I'll update my patch. Thanks. Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751884Ab0CYI2b (ORCPT ); Thu, 25 Mar 2010 04:28:31 -0400 Received: from gate.crashing.org ([63.228.1.57]:46638 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751282Ab0CYI2a (ORCPT ); Thu, 25 Mar 2010 04:28:30 -0400 Subject: Re: [PATCH 1/2] mm/vmalloc: Export purge_vmap_area_lazy() From: Benjamin Herrenschmidt To: Nick Piggin Cc: linuxppc-dev , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Nathan Fontenot In-Reply-To: <20100325052814.GA7493@laptop.nomadix.com> References: <1269417391.8599.188.camel@pasglop> <20100325052814.GA7493@laptop.nomadix.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 25 Mar 2010 19:25:59 +1100 Message-ID: <1269505559.8599.239.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > You want vm_unmap_aliases(), which also flushes entries in the > per-cpu vmap allocator (and is already exported for other code > that has similar problems). Ok, I missed that one. I'll update my patch. Thanks. Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with ESMTP id 2D6566B0071 for ; Thu, 25 Mar 2010 04:28:19 -0400 (EDT) Subject: Re: [PATCH 1/2] mm/vmalloc: Export purge_vmap_area_lazy() From: Benjamin Herrenschmidt In-Reply-To: <20100325052814.GA7493@laptop.nomadix.com> References: <1269417391.8599.188.camel@pasglop> <20100325052814.GA7493@laptop.nomadix.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 25 Mar 2010 19:25:59 +1100 Message-ID: <1269505559.8599.239.camel@pasglop> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Nick Piggin Cc: linuxppc-dev , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Nathan Fontenot List-ID: > You want vm_unmap_aliases(), which also flushes entries in the > per-cpu vmap allocator (and is already exported for other code > that has similar problems). Ok, I missed that one. I'll update my patch. Thanks. Cheers, Ben. -- 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