Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965646Ab2FASaJ (ORCPT ); Fri, 1 Jun 2012 14:30:09 -0400 Received: from e9.ny.us.ibm.com ([32.97.182.139]:37196 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758770Ab2FASaG (ORCPT ); Fri, 1 Jun 2012 14:30:06 -0400 From: John Stultz To: LKML Cc: John Stultz , Andrew Morton , Android Kernel Team , Robert Love , Mel Gorman , Hugh Dickins , Dave Hansen , Rik van Riel , Dmitry Adamushko , Dave Chinner , Neil Brown , Andrea Righi , "Aneesh Kumar K.V" , Taras Glek , Mike Hommey , Jan Kara Subject: [PATCH 0/3] [RFC] Fallocate Volatile Ranges v2 Date: Fri, 1 Jun 2012 11:29:44 -0700 Message-Id: <1338575387-26972-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.7.3.2.146.gca209 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12060118-7182-0000-0000-000001A6B9B8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2169 Lines: 61 Here's another update to the Fallocate Volatile Range code. The bigish change is renaming the range-tree code to interval-tree, as Jan Kara pointed out that term is more accurate (although this is a naive implementation). I also fixed a bad bug in the volatile range management, and added an optimization so we don't run over the lru to determine how many pages are unpurged. Thanks to everyone for the review so far, please let me know if you have any further thoughts or suggestions. thanks -john CC: Andrew Morton CC: Android Kernel Team CC: Robert Love CC: Mel Gorman CC: Hugh Dickins CC: Dave Hansen CC: Rik van Riel CC: Dmitry Adamushko CC: Dave Chinner CC: Neil Brown CC: Andrea Righi CC: Aneesh Kumar K.V CC: Taras Glek CC: Mike Hommey CC: Jan Kara John Stultz (3): [RFC] Interval tree implementation [RFC] Add volatile range management code [RFC] tmpfs: Add FALLOC_FL_MARK_VOLATILE/UNMARK_VOLATILE handlers fs/open.c | 3 +- include/linux/falloc.h | 7 +- include/linux/intervaltree.h | 55 +++++ include/linux/volatile.h | 45 ++++ lib/Makefile | 2 +- lib/intervaltree.c | 119 ++++++++++ mm/Makefile | 2 +- mm/shmem.c | 107 +++++++++ mm/volatile.c | 509 ++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 843 insertions(+), 6 deletions(-) create mode 100644 include/linux/intervaltree.h create mode 100644 include/linux/volatile.h create mode 100644 lib/intervaltree.c create mode 100644 mm/volatile.c -- 1.7.3.2.146.gca209 -- 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/