From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: [patch 8/9] lib: radix_tree: tree node interface Date: Fri, 10 Jan 2014 17:57:03 -0500 Message-ID: <52D07ABF.6030701@redhat.com> References: <1389377443-11755-1-git-send-email-hannes@cmpxchg.org> <1389377443-11755-9-git-send-email-hannes@cmpxchg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Andi Kleen , Andrea Arcangeli , Bob Liu , Christoph Hellwig , Dave Chinner , Greg Thelen , Hugh Dickins , Jan Kara , KOSAKI Motohiro , Luigi Semenzato , Mel Gorman , Metin Doslu , Michel Lespinasse , Minchan Kim , Ozgun Erdogan , Peter Zijlstra , Roman Gushchin , Ryan Mallon , Tejun Heo , Vlastimil Babka , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kern To: Johannes Weiner , Andrew Morton Return-path: In-Reply-To: <1389377443-11755-9-git-send-email-hannes@cmpxchg.org> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On 01/10/2014 01:10 PM, Johannes Weiner wrote: > Make struct radix_tree_node part of the public interface and provide > API functions to create, look up, and delete whole nodes. Refactor > the existing insert, look up, delete functions on top of these new > node primitives. > > This will allow the VM to track and garbage collect page cache radix > tree nodes. > > Signed-off-by: Johannes Weiner Reviewed-by: Rik van Riel -- All rights reversed -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by kanga.kvack.org (Postfix) with ESMTP id D650F6B0031 for ; Fri, 10 Jan 2014 17:57:58 -0500 (EST) Received: by mail-ee0-f41.google.com with SMTP id e49so467765eek.28 for ; Fri, 10 Jan 2014 14:57:58 -0800 (PST) Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTP id l2si12598754een.230.2014.01.10.14.57.57 for ; Fri, 10 Jan 2014 14:57:58 -0800 (PST) Message-ID: <52D07ABF.6030701@redhat.com> Date: Fri, 10 Jan 2014 17:57:03 -0500 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [patch 8/9] lib: radix_tree: tree node interface References: <1389377443-11755-1-git-send-email-hannes@cmpxchg.org> <1389377443-11755-9-git-send-email-hannes@cmpxchg.org> In-Reply-To: <1389377443-11755-9-git-send-email-hannes@cmpxchg.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner , Andrew Morton Cc: Andi Kleen , Andrea Arcangeli , Bob Liu , Christoph Hellwig , Dave Chinner , Greg Thelen , Hugh Dickins , Jan Kara , KOSAKI Motohiro , Luigi Semenzato , Mel Gorman , Metin Doslu , Michel Lespinasse , Minchan Kim , Ozgun Erdogan , Peter Zijlstra , Roman Gushchin , Ryan Mallon , Tejun Heo , Vlastimil Babka , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org On 01/10/2014 01:10 PM, Johannes Weiner wrote: > Make struct radix_tree_node part of the public interface and provide > API functions to create, look up, and delete whole nodes. Refactor > the existing insert, look up, delete functions on top of these new > node primitives. > > This will allow the VM to track and garbage collect page cache radix > tree nodes. > > Signed-off-by: Johannes Weiner Reviewed-by: Rik van Riel -- All rights reversed -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757944AbaAJW6D (ORCPT ); Fri, 10 Jan 2014 17:58:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32495 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752109AbaAJW6B (ORCPT ); Fri, 10 Jan 2014 17:58:01 -0500 Message-ID: <52D07ABF.6030701@redhat.com> Date: Fri, 10 Jan 2014 17:57:03 -0500 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Johannes Weiner , Andrew Morton CC: Andi Kleen , Andrea Arcangeli , Bob Liu , Christoph Hellwig , Dave Chinner , Greg Thelen , Hugh Dickins , Jan Kara , KOSAKI Motohiro , Luigi Semenzato , Mel Gorman , Metin Doslu , Michel Lespinasse , Minchan Kim , Ozgun Erdogan , Peter Zijlstra , Roman Gushchin , Ryan Mallon , Tejun Heo , Vlastimil Babka , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [patch 8/9] lib: radix_tree: tree node interface References: <1389377443-11755-1-git-send-email-hannes@cmpxchg.org> <1389377443-11755-9-git-send-email-hannes@cmpxchg.org> In-Reply-To: <1389377443-11755-9-git-send-email-hannes@cmpxchg.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/10/2014 01:10 PM, Johannes Weiner wrote: > Make struct radix_tree_node part of the public interface and provide > API functions to create, look up, and delete whole nodes. Refactor > the existing insert, look up, delete functions on top of these new > node primitives. > > This will allow the VM to track and garbage collect page cache radix > tree nodes. > > Signed-off-by: Johannes Weiner Reviewed-by: Rik van Riel -- All rights reversed