Thread (34 messages) 34 messages, 6 authors, 2014-09-09

Re: [RFC 6/9] SQUASHME: prd: Let each prd-device manage private memory region

From: Ross Zwisler <hidden>
Date: 2014-08-21 16:57:01
Also in: linux-fsdevel

On Wed, 2014-08-13 at 15:18 +0300, Boaz Harrosh wrote:
From: Boaz Harrosh <redacted>

This patch removes any global memory information. And lets
each prd-device manage it's own memory region.

prd_alloc() Now receives phys_addr and disk_size and will
map that region, also prd_free will do the unmaping.

This is so we can support multiple discontinuous memory regions
in the next patch

Signed-off-by: Boaz Harrosh <redacted>
---
 drivers/block/prd.c | 125 ++++++++++++++++++++++++++++++++--------------------
 1 file changed, 78 insertions(+), 47 deletions(-)
Looks great.

Reviewed-by: Ross Zwisler <redacted>


--
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help