Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753930AbYLOH3G (ORCPT ); Mon, 15 Dec 2008 02:29:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751788AbYLOH2z (ORCPT ); Mon, 15 Dec 2008 02:28:55 -0500 Received: from brick.kernel.dk ([93.163.65.50]:26561 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751995AbYLOH2z (ORCPT ); Mon, 15 Dec 2008 02:28:55 -0500 Date: Mon, 15 Dec 2008 08:28:30 +0100 From: Jens Axboe To: FUJITA Tomonori Cc: linuxppc-dev@ozlabs.org, paulus@samba.org, benh@kernel.crashing.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND] [PATCH] powerpc: remove dead BIO_VMERGE_BOUNDARY definition Message-ID: <20081215072830.GQ23742@kernel.dk> References: <20081214124508U.fujita.tomonori@lab.ntt.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081214124508U.fujita.tomonori@lab.ntt.co.jp> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1829 Lines: 53 On Sun, Dec 14 2008, FUJITA Tomonori wrote: > This is a resend of: > > http://marc.info/?l=linux-kernel&m=122482703616607&w=2 > > = > From: FUJITA Tomonori > Subject: [PATCH] powerpc: remove dead BIO_VMERGE_BOUNDARY definition > > The block layer dropped the virtual merge feature > (b8b3e16cfe6435d961f6aaebcfd52a1ff2a988c5). BIO_VMERGE_BOUNDARY > definition is meaningless now (For POWER, BIO_VMERGE_BOUNDARY has been > meaningless for a long time since POWER disables the virtual merge > feature). > > Signed-off-by: FUJITA Tomonori Acked-by: Jens Axboe > --- > arch/powerpc/include/asm/io.h | 7 ------- > 1 files changed, 0 insertions(+), 7 deletions(-) > > diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h > index 08266d2..494cd8b 100644 > --- a/arch/powerpc/include/asm/io.h > +++ b/arch/powerpc/include/asm/io.h > @@ -713,13 +713,6 @@ static inline void * phys_to_virt(unsigned long address) > */ > #define page_to_phys(page) ((phys_addr_t)page_to_pfn(page) << PAGE_SHIFT) > > -/* We do NOT want virtual merging, it would put too much pressure on > - * our iommu allocator. Instead, we want drivers to be smart enough > - * to coalesce sglists that happen to have been mapped in a contiguous > - * way by the iommu > - */ > -#define BIO_VMERGE_BOUNDARY 0 > - > /* > * 32 bits still uses virt_to_bus() for it's implementation of DMA > * mappings se we have to keep it defined here. We also have some old > -- > 1.5.5.GIT > -- Jens Axboe -- 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/