On Mon, Mar 13, 2017 at 1:36 PM, Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote: > eMMC can have multiple internal partitions that are represented as separate > disks / queues. However switching between partitions is only done when the > queue is empty. Consequently the array of mmc requests that are queued can > be shared between partitions saving memory. > > Keep a pointer to the mmc request queue on the card, and use that instead > of allocating a new one for each partition. > > Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> This is an especially nice patch, and even just merging this patch set to this point is already a significant improvement to the core code IMO. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html