Re: [PATCH V2 05/22] mmc: queue: Share mmc request array between partitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux