On Wed, 2014-08-13 at 15:18 +0300, Boaz Harrosh wrote: > From: Boaz Harrosh <boaz@xxxxxxxxxxxxx> > > 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 <boaz@xxxxxxxxxxxxx> > --- > drivers/block/prd.c | 125 ++++++++++++++++++++++++++++++++-------------------- > 1 file changed, 78 insertions(+), 47 deletions(-) Looks great. Reviewed-by: Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>