On 03/06/2009 04:54 AM, Geert Uytterhoeven wrote: > Convert the PS3 Video RAM Storage Driver from an MTD driver to a plain block > device driver. > > The ps3vram driver exposes unused video RAM on the PS3 as a block device > suitable for storage or swap. Fast data transfer is achieved using a local > cache in system RAM and DMA transfers via the GPU. > > The new driver is ca. 50% faster for reading, and ca. 10% for writing. > > arch/powerpc/platforms/ps3/Kconfig | 7 + > drivers/block/Makefile | 1 + > drivers/block/ps3vram.c | 865 > ++++++++++++++++++++++++++++++++++++ > drivers/mtd/devices/Kconfig | 7 - > drivers/mtd/devices/Makefile | 1 - > drivers/mtd/devices/ps3vram.c | 768 -------------------------------- > 6 files changed, 873 insertions(+), 776 deletions(-) > create mode 100644 drivers/block/ps3vram.c > delete mode 100644 drivers/mtd/devices/ps3vram.c
Looks good, certainly an improvement. Acked-by: Geoff Levand <geoffrey.lev...@am.sony.com> _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev