P. 1
Linux Internals

Linux Internals

4.65

|Views: 5,664|Likes:
Published by Tuxology.net
The slides for a course on the Internals of the Linux kernel, based on original material by Free Electrons, modified by Codefidence Ltd.
The slides for a course on the Internals of the Linux kernel, based on original material by Free Electrons, modified by Codefidence Ltd.

More info:

Published by: Tuxology.net on Jun 18, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as ODP, PDF, TXT or read online from Scribd
See more
See less

04/10/2015

pdf

text

original

#include 

Creating a cache:

cache = kmem_cache_create (

name,

/* Name for /proc/slabinfo */

size,

/* Cache object size */

flags,

/* Options: alignment, DMA... */

constructor, /* Optional, called after each allocation */

destructor); /* Optional, called before each release */

156

© Copyright 2006­2004, Michael Opdenacker
© Copyright 2003­2006, Oron Peled
© Copyright 2004­2006 Codefidence Ltd.

Based on material by:

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->