[haiku-gsoc] Re: Implementation Queries

  • From: Vivek Roy <vivekroyandroid@xxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Fri, 23 Jun 2017 10:49:16 +0530

Implementing linux/slab.h
<http://xref.plausible.coop/source/xref/freebsd-current/sys/compat/linuxkpi/common/include/linux/slab.h>

I am using src/system/kernel/slab
<http://xref.plausible.coop/source/xref/haiku/src/system/kernel/slab/> for
reference.

Hamish told me that Linux's kmalloc calls expect continuous memory address.
But not every call to kmalloc has to return a continuous memory. So I need
to figure out which calls actually require a continuous memory and which do
not. Though I am not very sure how I will go about doing that (except for
reading the code and trying to figure out what it does), I will do that.

Anything else I need to understand/keep in mind before moving ahead from
here?

Thanks

-----
Vivek

Other related posts: