Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753021AbZCIRwT (ORCPT ); Mon, 9 Mar 2009 13:52:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751598AbZCIRwB (ORCPT ); Mon, 9 Mar 2009 13:52:01 -0400 Received: from va3ehsobe005.messaging.microsoft.com ([216.32.180.15]:9220 "EHLO VA3EHSOBE006.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751552AbZCIRwA (ORCPT ); Mon, 9 Mar 2009 13:52:00 -0400 X-BigFish: VPS-33(zcb8kz1432R98dR936eQ1805M9371P19c2kzzzzed1kz2fh6bh65h) X-Spam-TCS-SCL: 4:0 Message-ID: <49B5572F.4010007@am.sony.com> Date: Mon, 9 Mar 2009 10:51:43 -0700 From: Geoff Levand User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Benjamin Herrenschmidt CC: Geert Uytterhoeven , Jens Axboe , Jim Paris , Vivien Chappelier , David Woodhouse , Arnd Bergmann , Linux/PPC Development , Cell Broadband Engine OSS Development , Linux Kernel Development , linux-mtd@lists.infradead.org, Linus Torvalds Subject: Re: [PATCH] ps3/block: Replace mtd/ps3vram by block/ps3vram References: <1236209255.6696.75.camel@pasglop> <20090305065423.GK11787@kernel.dk> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Mar 2009 17:51:44.0641 (UTC) FILETIME=[B5E20710:01C9A0DF] X-SEL-encryption-scan: scanned Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1275 Lines: 29 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/