From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jared Hulbert" Subject: [RFC][PATCH 0/3] xip: no struct pages -- summary Date: Fri, 7 Mar 2008 20:33:34 -0800 Message-ID: <6934efce0803072033g3dab6106n32beb61532f365f7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: "Nick Piggin" , "Linus Torvalds" , "Andrew Morton" , "Carsten Otte" , "Martin Schwidefsky Return-path: Received: from rv-out-0910.google.com ([209.85.198.186]:22039 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752859AbYCHEdh (ORCPT ); Fri, 7 Mar 2008 23:33:37 -0500 Received: by rv-out-0910.google.com with SMTP id k20so440076rvb.1 for ; Fri, 07 Mar 2008 20:33:34 -0800 (PST) Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: [RFC][PATCH 0/3] xip: no struct pages -- summary This short series extendeds one of Nick Piggins patches for the XIP overhaul that we've been kicking around. I'm just hoping to get the API changes reviewed now. I haven't tested this, just compiled what I can. So what I'm doing here is swapping out get_xip_page() for get_xip_mem(). The get_xip_mem() API gives us a kaddr and a pfn. I thought it worked best to force this kaddr and pfn down through the block dev's direct_access() API. I'm really unsure if I understand whether I got the device specific implementations of the new direct_access() right. For those interested I'll be updating my git tree at git.infradead.org/users/jehulber/axfs.git with an updated patch set Monday. [1/3] filemap_xip fs/open.c | 2 include/linux/fs.h | 4 - mm/fadvise.c | 2 mm/filemap_xip.c | 204 ++++++++++++++++++++++++----------------------------- mm/madvise.c | 2 5 files changed, 101 insertions(+), 113 deletions(-) [2/3] direct_access arch/powerpc/sysdev/axonram.c | 5 +++-- drivers/block/brd.c | 5 +++-- drivers/s390/block/dcssblk.c | 7 +++++-- include/linux/fs.h | 3 ++- 4 files changed, 13 insertions(+), 7 deletions(-) [3/3] ext2 inode.c | 2 +- xip.c | 45 ++++++++++++++++++++++++--------------------- xip.h | 9 +++++---- 3 files changed, 30 insertions(+), 26 deletions(-)