public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <monstr@seznam.cz>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>,
	John Williams <john.williams@petalogix.com>,
	arnd@arndb.de, linux-arch@vger.kernel.org,
	John Linn <linnj@xilinx.com>,
	matthew@wil.cx, will.newton@gmail.com, drepper@redhat.com,
	microblaze-uclinux@itee.uq.edu.au, grant.likely@secretlab.ca,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Microblaze: implement dma-coherent API andrefactorcache flush code.
Date: Tue, 06 May 2008 11:33:13 +0200	[thread overview]
Message-ID: <482025D9.9010503@seznam.cz> (raw)
In-Reply-To: <Pine.LNX.4.64.0805060923100.3160@anakin>

Hi John, Steve and others,

I'll only rename flush to invalidate. Thant's all for now.

Michal

> On Mon, 5 May 2008, Stephen Neuendorffer wrote:
>>> -----Original Message-----
>>> From: John Williams [mailto:john.williams@petalogix.com]
>>>
>>> Sure - what I meant is can dma_alloc just call kmalloc to do it's
>> work?
>>
>> I scanned through Linux Device Drivers, and it appears that calling
>> get_free_pages is:
>> 1) more efficient than kmalloc for large allocations
>> 2) allocates physically contiguous memory, which kmalloc doesn't
>> necessarily do if there's an mmu.
> 
> kmalloc() allocates physically contiguous memory, vmalloc() doesn't.
> 
> Gr{oetje,eeting}s,
> 
> 						Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> 							    -- Linus Torvalds
> 
> 

  reply	other threads:[~2008-05-06  9:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-05 22:37 [PATCH] Microblaze: implement dma-coherent API and refactor cache flush code Stephen Neuendorffer
2008-05-05 22:37 ` Stephen Neuendorffer
2008-05-05 22:57 ` John Williams
2008-05-05 23:12   ` [PATCH] Microblaze: implement dma-coherent API and refactorcache " Stephen Neuendorffer
2008-05-06  0:14     ` John Williams
2008-05-06  0:31       ` [PATCH] Microblaze: implement dma-coherent API andrefactorcache " Stephen Neuendorffer
2008-05-06  7:23         ` Geert Uytterhoeven
2008-05-06  9:33           ` Michal Simek [this message]
2008-05-06  9:28 ` [PATCH] Microblaze: implement dma-coherent API and refactor cache " Michal Simek

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=482025D9.9010503@seznam.cz \
    --to=monstr@seznam.cz \
    --cc=arnd@arndb.de \
    --cc=drepper@redhat.com \
    --cc=geert@linux-m68k.org \
    --cc=grant.likely@secretlab.ca \
    --cc=john.williams@petalogix.com \
    --cc=linnj@xilinx.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew@wil.cx \
    --cc=microblaze-uclinux@itee.uq.edu.au \
    --cc=stephen.neuendorffer@xilinx.com \
    --cc=will.newton@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox