[haiku-gsoc] Re: Implementation Queries

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: "haiku-gsoc@xxxxxxxxxxxxx" <haiku-gsoc@xxxxxxxxxxxxx>
  • Date: Wed, 28 Jun 2017 09:31:25 -0400

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.

Regards,

Rene

Other related posts: