Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753392Ab3GAOGc (ORCPT ); Mon, 1 Jul 2013 10:06:32 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:46355 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751134Ab3GAOGb (ORCPT ); Mon, 1 Jul 2013 10:06:31 -0400 MIME-Version: 1.0 X-Originating-IP: [93.173.177.224] In-Reply-To: <1370034984-29636-1-git-send-email-s-anna@ti.com> References: <1370034984-29636-1-git-send-email-s-anna@ti.com> From: Ohad Ben-Cohen Date: Mon, 1 Jul 2013 17:06:09 +0300 Message-ID: Subject: Re: [PATCH 3/3] remoteproc: free carveout memories only after unmapping them To: Suman Anna Cc: "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 818 Lines: 18 On Sat, Jun 1, 2013 at 12:16 AM, Suman Anna wrote: > It is not preferable to have the allocated pages for carveout > memories freed before they are unmapped. The code that deals > with the cleanup of carveout memories is therefore moved after > the corresponding mapping entries were cleaned up. > > This is mostly a no-op since the remote processors are already > stopped when the cleanup function is called, but this will make > the cleanup code follow the exact reverse path of allocation. > > Signed-off-by: Suman Anna Applied, thanks. -- 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/