[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <49B5572F.4010007@am.sony.com>
Date: Mon, 9 Mar 2009 10:51:43 -0700
From: Geoff Levand <geoffrey.levand@...sony.com>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>
CC: Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com>,
Jens Axboe <jens.axboe@...cle.com>, Jim Paris <jim@...n.com>,
Vivien Chappelier <vivien.chappelier@...e.fr>,
David Woodhouse <dwmw2@...radead.org>,
Arnd Bergmann <arnd@...db.de>,
Linux/PPC Development <linuxppc-dev@...abs.org>,
Cell Broadband Engine OSS Development
<cbe-oss-dev@...abs.org>,
Linux Kernel Development <linux-kernel@...r.kernel.org>,
linux-mtd@...ts.infradead.org,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH] ps3/block: Replace mtd/ps3vram by block/ps3vram
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.levand@...sony.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists