[haiku-gsoc] Re: Implementation Queries

  • From: Vivek Roy <vivekroyandroid@xxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Wed, 28 Jun 2017 14:55:46 +0530


Depending on how the alloc/free behaviour is in the code to be ported, a
simple provisional allocator could be added (temporarily), i.e. create a
larger area of contiguous memory and hand out pieces of it.


So, I need to have a provision which will allocate one page at a time (or
multiple pages) and then give away segments of the page to each kmalloc
call.

Having something like that will ease the process a lot in the coming
months, but will be some work for now. Is that what everyone thinks would
be the way to go?

Regards

-----
Vivek

Other related posts: