[haiku-gsoc] Re: Implementation Queries

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Wed, 28 Jun 2017 17:57:53 +0200

Le 28/06/2017 à 15:31, Rene Gollent a écrit :

On Wed, Jun 28, 2017 at 9:17 AM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
Then I guess the best course of action is to have kmalloc() always return
contiguous memory, too, and try that GFP_DMA thing later on.

From a quick look at the documentation, GFP_DMA's meaning is
arch-specific, and on x86 seems to relate to the requirement that the
allocation fit specifically into the lower 16MB of physical memory for
the purposes of ISA devices needing to perform DMA, not physically
contiguous in general, so I doubt it applies here.



Yes, something like B_LOMEM.

François.

Other related posts: