- To: "'KOSAKI Motohiro'" <kosaki.motohiro@xxxxxxxxx>, "'Paul Mundt'" <lethal@xxxxxxxxxxxx>
- Subject: RE: [PATCHv2 3/4] mm: vmalloc: add VM_DMA flag to indicate areas used by dma-mapping framework
- From: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
- Date: Mon, 28 May 2012 10:19:39 +0200
- Cc: "'Minchan Kim'" <minchan@xxxxxxxxxx>, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linaro-mm-sig@xxxxxxxxxxxxxxxx, linux-mm@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, "'Kyungmin Park'" <kyungmin.park@xxxxxxxxxxx>, "'Arnd Bergmann'" <arnd@xxxxxxxx>, "'Russell King - ARM Linux'" <linux@xxxxxxxxxxxxxxxx>, "'Chunsang Jeong'" <chunsang.jeong@xxxxxxxxxx>, "'Krishna Reddy'" <vdumpa@xxxxxxxxxx>, "'Konrad Rzeszutek Wilk'" <konrad.wilk@xxxxxxxxxx>, "'Hiroshi Doyu'" <hdoyu@xxxxxxxxxx>, "'Subash Patel'" <subashrp@xxxxxxxxx>, "'Nick Piggin'" <npiggin@xxxxxxxxx>
- Delivered-to: linux-mm-outgoing@xxxxxxxxx
- Delivered-to: int-list-linux-mm@xxxxxxxxx
- Delivered-to: linux-mm@xxxxxxxxx
- In-reply-to: <CAHGf_=qmBMFfV=UhXFtepO8styaQonfBA0E0+FO0qSi7RLfJFA@mail.gmail.com>
- Organization: SPRC
- Thread-index: Ac08BT44lU09F0l8TOCrspyaYIvvLwApKrLw
Hello,
On Sunday, May 27, 2012 2:35 PM KOSAKI Motohiro wrote:
> On Thu, May 24, 2012 at 8:28 AM, Paul Mundt <lethal@xxxxxxxxxxxx> wrote:
> > On Thu, May 24, 2012 at 02:26:12PM +0200, Marek Szyprowski wrote:
> >> On Tuesday, May 22, 2012 9:08 AM Minchan Kim wrote:
> >> > Hmm, VM_DMA would become generic flag?
> >> > AFAIU, maybe VM_DMA would be used only on ARM arch.
> >>
> >> Right now yes, it will be used only on ARM architecture, but maybe other architecture will
> >> start using it once it is available.
> >>
> > There's very little about the code in question that is ARM-specific to
> > begin with. I plan to adopt similar changes on SH once the work has
> > settled one way or the other, so we'll probably use the VMA flag there,
> > too.
>
> I don't think VM_DMA is good idea because x86_64 has two dma zones. x86 unaware
> patches make no sense.
I see no problems to add VM_DMA64 later if x86_64 starts using vmalloc areas for creating
kernel mappings for the dma buffers (I assume that there are 2 dma zones: one 32bit and one
64bit). Right now x86 and x86_64 don't use vmalloc areas for dma buffers, so I hardly see
how this patch can be considered as 'x86 unaware'.
Best regards
--
Marek Szyprowski
Samsung Poland R&D Center
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>
[Site Home]
[Linux ARM Kernel]
[Linux ARM]
[Linux Omap]
[Fedora ARM]
[IETF Annouce]
[Security]
[Bugtraq]
[Linux]
[Linux OMAP]
[Linux MIPS]
[ECOS]
[Tools]
[DDR & Rambus]
[Asterisk Internet PBX]
[Linux API]
[Monitors]