[kernelreadfans] Re: FASTCALL syntax?

  • From: mingz <mingz@xxxxxxxxxxx>
  • To: kernelreadfans@xxxxxxxxxxxxx
  • Date: Wed, 4 Jun 2003 09:04:56 -0400

about slab in linux. since for normal malloc, linux will give u in page unit. 
so it is wasteful if u need many small size memory. the solution here is the 
slab. u need use special rountines to create a slab object, then malloc and 
free then, after u use, u also need destroy the object u created. linux also 
can allocate memory in page unit, all detail pls see chapter 7 of Linux 
device driver 2nd edition. if u donot have that book, let me know, i give u 
the link of ebook. i also merge them to 1 pdf for easy print.


Other related posts: