From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757085Ab2DXRuK (ORCPT ); Tue, 24 Apr 2012 13:50:10 -0400 Received: from e38.co.us.ibm.com ([32.97.110.159]:45998 "EHLO e38.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755819Ab2DXRuG (ORCPT ); Tue, 24 Apr 2012 13:50: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" Subject: [PATCH 0/3] Volatile Ranges Date: Tue, 24 Apr 2012 10:49:44 -0700 Message-Id: <1335289787-11089-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: 12042417-5518-0000-0000-000003E31EDD Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org So the last RFC iteration of this patch set didn't get any feedback, so I wanted to properly submit the volatile range functionality for inclusion. I suspect this will bring some useful critiques out of the wood work, which I'd welcome, but maybe not and this can be queued. Here's to optimism. :) In addition to the two patches for volatile ranges, I've also included an RFC patch converting the ashmem driver to use volatile ranges. Thoughts or feedback on it would be appreciated. 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 John Stultz (3): Range tree implementation fadvise: Add _VOLATILE,_ISVOLATILE, and _NONVOLATILE flags [RFC] ashmem: Convert ashmem to use volatile ranges drivers/staging/android/ashmem.c | 327 +-------------------------- fs/file_table.c | 4 + include/linux/fadvise.h | 5 + include/linux/rangetree.h | 56 +++++ include/linux/volatile.h | 12 + lib/Makefile | 2 +- lib/rangetree.c | 128 +++++++++++ mm/Makefile | 2 +- mm/fadvise.c | 16 ++- mm/volatile.c | 457 ++++++++++++++++++++++++++++++++++++++ 10 files changed, 689 insertions(+), 320 deletions(-) create mode 100644 include/linux/rangetree.h create mode 100644 include/linux/volatile.h create mode 100644 lib/rangetree.c create mode 100644 mm/volatile.c -- 1.7.3.2.146.gca209