From: Ingo Molnar <mingo@elte.hu>
To: Marin Mitov <mitov@issp.bas.bg>,
FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org,
Jesse Barnes <jbarnes@virtuousgeek.org>
Subject: Re: [PATCH] arch-x86-pci-swiotlb-cleanup-patch
Date: Thu, 13 Aug 2009 22:29:48 +0200 [thread overview]
Message-ID: <20090813202948.GA20829@elte.hu> (raw)
In-Reply-To: <200908131718.04623.mitov@issp.bas.bg>
* Marin Mitov <mitov@issp.bas.bg> wrote:
> Hi all,
>
> This is a simple cleanup patch for arch/x86/kernel/pci-swiotlb.c
> file.
>
> Deleted functions are already in lib/swiotlb.c, so no need to be
> duplicated.
>
> The patch is against linux-2.6.31-rc5, compile/run tested on
> x86_64.
>
> Best regards,
>
> Marin Mitov
>
> Signed-off-by: Marin Mitov <mitov@issp.bas.bg>
>
> =====================================================
> --- a/arch/x86/kernel/pci-swiotlb.c 2009-08-13 16:05:28.000000000 +0300
> +++ b/arch/x86/kernel/pci-swiotlb.c 2009-08-13 16:13:09.000000000 +0300
> @@ -13,31 +13,6 @@
>
> int swiotlb __read_mostly;
>
> -void * __init swiotlb_alloc_boot(size_t size, unsigned long nslabs)
> -{
> - return alloc_bootmem_low_pages(size);
> -}
> -
> -void *swiotlb_alloc(unsigned order, unsigned long nslabs)
> -{
> - return (void *)__get_free_pages(GFP_DMA | __GFP_NOWARN, order);
> -}
> [...]
Fujita Tomonori has already done this in these swiotlb commits:
bb52196: swiotlb: remove unused swiotlb_alloc()
3885123: swiotlb: remove unused swiotlb_alloc_boot()
about a month ago. You can find those changes in -tip:
http://people.redhat.com/mingo/tip.git/README
and in linux-next as well.
Ingo
prev parent reply other threads:[~2009-08-13 20:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-13 14:18 [PATCH] arch-x86-pci-swiotlb-cleanup-patch Marin Mitov
2009-08-13 20:29 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090813202948.GA20829@elte.hu \
--to=mingo@elte.hu \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mitov@issp.bas.bg \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.