Skip to content

Volatile Ranges

John Stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Range tree implementationinclude/linux/rangetree.h lib/Makefile lib/rangetree.c+185 -17 replies
2/3fadvise: Add _VOLATILE,_ISVOLATILE, and _NONVOLATILE flagsfs/file_table.c include/linux/fadvise.h include/linux/volatile.h +3 more+494 -215 replies
3/3ashmem: Convert ashmem to use volatile rangesdrivers/staging/android/ashmem.c+10 -3172 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Volatile Ranges

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 <[email protected]>
CC Android Kernel Team <[email protected]>
CC Robert Love <[email protected]>
CC Mel Gorman <[email protected]>
CC Hugh Dickins <[email protected]>
CC Dave Hansen <[email protected]>
CC Rik van Riel <[email protected]>
CC Dmitry Adamushko <[email protected]>
CC Dave Chinner <[email protected]>
CC Neil Brown <[email protected]>
CC Andrea Righi <[email protected]>
CC Aneesh Kumar K.V <[email protected]>

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
Signature · 1 line
1.7.3.2.146.gca209