pmem: Fixes and farther development (mm: add_persistent_memory)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | SQUASHME: pmem: Remove unused #include headersdrivers/ | +0 | 5 replies | |
| 2/9 | SQUASHME: pmem: Request from fdisk 4k alignmentdrivers/ | +6 | 2 replies | |
| 3/9 | SQUASHME: pmem: Let each device manage private memory regiondrivers/ | +75 | 1 reply | |
| 4/9 | SQUASHME: pmem: Support of multiple memory regionsdrivers/ drivers/ | +44 | 0 replies | |
| 5/9 | mm: Let sparse_{add,remove}_one_section receive a node_idinclude/ mm/ mm/ | +9 | 8 replies | |
| 6/9 | mm: New add_persistent_memory/remove_persistent_memoryinclude/ mm/ mm/ | +204 | 0 replies | |
| 7/9 | pmem: Add support for page structsdrivers/ drivers/ | +32 | 0 replies | |
| 8/9 | SQUASHME: pmem: Fixs to getgeodrivers/ | +10 | 0 replies | |
| 9/9 | pmem: KISS, remove register_blkdevdrivers/ | +0 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Ross Zwisler |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | R-b |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] pmem: Fixes and farther development (mm: add_persistent_memory)
Quoted 4 lines · Ross Zwisler
PMEM is a modified version of the Block RAM Driver, BRD. The major difference is that BRD allocates its backing store pages from the page cache, whereas PMEM uses reserved memory that has been ioremapped.
Quoted 8 lines
One benefit of this approach is that there is a direct mapping between filesystem block numbers and virtual addresses. In PMEM, filesystem blocks N, N+1, N+2, etc. will all be adjacent in the virtual memory space. This property allows us to set up PMD mappings (2 MiB) for DAX.
This patch set is builds upon the work that Matthew Wilcox has been doing for DAX:
Let us not submit a driver with the wrong user visible API. Lets submit the better API (and structure) I have sent.
Quoted 5 lines
https://lkml.org/lkml/2014/8/27/31
Specifically, my implementation of
pmem_direct_access()in patch 4/4 uses API enhancements introduced in Matthew's DAX patch v10 02/21:
Quoted 8 lines
https://lkml.org/lkml/2014/8/27/48
Ross Zwisler (4):
pmem: Initial version of persistent memory driver
pmem: Add support forgetgeo()
pmem: Add support forrw_page()
pmem: Add support fordirect_access()
On top of the 4 above patches here is a list of changes:
[PATCH 1/9] SQUASHME: pmem: Remove unused #include headers [PATCH 2/9] SQUASHME: pmem: Request from fdisk 4k alignment [PATCH 3/9] SQUASHME: pmem: Let each device manage private memory region [PATCH 4/9] SQUASHME: pmem: Support of multiple memory regions
These 4 need to be squashed into Ross's
[patch 1/4] pmem: Initial version of persistent memory driver
See below for a suggested new patch
[PATCH 5/9 v2] mm: Let sparse_{add,remove}_one_section receive a node_id [PATCH 6/9 v2] mm: New add_persistent_memory/remove_persistent_memory [PATCH 7/9 v2] pmem: Add support for page structs
Please need review by Toshi and mm people.
[PATCH 8/9] SQUASHME: pmem: Fixs to getgeo
[PATCH 9/9] pmem: KISS, remove register_blkdev
And some more development atop the initial version
All these patches can be viewed in this tree/branch:
git://git.open-osd.org/pmem.git branch pmem-jens-3.17-rc1 [http://git.open-osd.org/gitweb.cgi?p=pmem.git;a=shortlog;h=refs/heads/pmem-jens-3.17-rc1]
I have also prepared a new branch *pmem* which is already SQUASHED And has my suggested changed commit logs for the combined patches here is the commit-log:
aa85c80 Boaz Harrosh | pmem: KISS, remove register_blkdev
738203c Boaz Harrosh | pmem: Add support for page structs
9f50a54 Boaz Harrosh | mm: New add_persistent_memory/remove_persistent_memory
fdfab12 Yigal Korman | mm: Let sparse_{add,remove}_one_section receive a node_id
a477a87 Ross Zwisler | pmem: Add support for direct_access()
316a93a Ross Zwisler | pmem: Add support for rw_page()
6850353 Boaz Harrosh | SQUASHME: pmem: Fixs to getgeo
d78a84a Ross Zwisler | pmem: Add support for getgeo()
bb0eb45 Ross Zwisler | pmem: Initial version of persistent memory driver All these patches can be viewed in this tree/branch:
git://git.open-osd.org/pmem.git branch pmem
[http://git.open-osd.org/gitweb.cgi?p=pmem.git;a=shortlog;h=refs/heads/pmem]
Specifically the first [bb0eb45] is needed so first version can be released with the proper user visible API.
Ross please consider taking these patches (pmem branch) in your tree for submission?
Thanks
Boaz
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>