Rev 76 | Rev 79 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 76 | Rev 77 | ||
|---|---|---|---|
| Line 57... | Line 57... | ||
| 57 | allocation requests, the frame allocator is tightly integrated with the |
57 | allocation requests, the frame allocator is tightly integrated with the |
| 58 | buddy system belonging to the zone. The frame allocator is also |
58 | buddy system belonging to the zone. The frame allocator is also |
| 59 | responsible for updating information about the number of free and busy |
59 | responsible for updating information about the number of free and busy |
| 60 | frames in the zone. <figure> |
60 | frames in the zone. <figure> |
| 61 | <mediaobject id="frame_alloc"> |
61 | <mediaobject id="frame_alloc"> |
| - | 62 | <imageobject role="eps"> |
|
| - | 63 | <imagedata fileref="images.vector/frame_alloc.eps" format="EPS" /> |
|
| - | 64 | </imageobject> |
|
| - | 65 | ||
| 62 | <imageobject role="html"> |
66 | <imageobject role="html"> |
| 63 | <imagedata fileref="images/frame_alloc.png" format="PNG" /> |
67 | <imagedata fileref="images/frame_alloc.png" format="PNG" /> |
| 64 | </imageobject> |
68 | </imageobject> |
| 65 | 69 | ||
| 66 | <imageobject role="fop"> |
70 | <imageobject role="fop"> |
| Line 116... | Line 120... | ||
| 116 | size. On the other hand, the buddy allocator suffers increased internal |
120 | size. On the other hand, the buddy allocator suffers increased internal |
| 117 | fragmentation of memory and is not suitable for general kernel |
121 | fragmentation of memory and is not suitable for general kernel |
| 118 | allocations. This purpose is better addressed by the <link |
122 | allocations. This purpose is better addressed by the <link |
| 119 | linkend="slab">slab allocator</link>.<figure> |
123 | linkend="slab">slab allocator</link>.<figure> |
| 120 | <mediaobject id="buddy_alloc"> |
124 | <mediaobject id="buddy_alloc"> |
| - | 125 | <imageobject role="eps"> |
|
| - | 126 | <imagedata fileref="images.vector/buddy_alloc.eps" format="EPS" /> |
|
| - | 127 | </imageobject> |
|
| - | 128 | ||
| 121 | <imageobject role="html"> |
129 | <imageobject role="html"> |
| 122 | <imagedata fileref="images/buddy_alloc.png" format="PNG" /> |
130 | <imagedata fileref="images/buddy_alloc.png" format="PNG" /> |
| 123 | </imageobject> |
131 | </imageobject> |
| 124 | 132 | ||
| 125 | <imageobject role="fop"> |
133 | <imageobject role="fop"> |
| Line 235... | Line 243... | ||
| 235 | it is immediately freed.</para> |
243 | it is immediately freed.</para> |
| 236 | 244 | ||
| 237 | <para> |
245 | <para> |
| 238 | <figure> |
246 | <figure> |
| 239 | <mediaobject id="slab_alloc"> |
247 | <mediaobject id="slab_alloc"> |
| - | 248 | <imageobject role="eps"> |
|
| - | 249 | <imagedata fileref="images.vector/slab_alloc.eps" format="EPS" /> |
|
| - | 250 | </imageobject> |
|
| - | 251 | ||
| 240 | <imageobject role="html"> |
252 | <imageobject role="html"> |
| 241 | <imagedata fileref="images/slab_alloc.png" format="PNG" /> |
253 | <imagedata fileref="images/slab_alloc.png" format="PNG" /> |
| 242 | </imageobject> |
254 | </imageobject> |
| - | 255 | ||
| - | 256 | <imageobject role="fop"> |
|
| - | 257 | <imagedata fileref="images.vector/slab_alloc.svg" format="SVG" /> |
|
| - | 258 | </imageobject> |
|
| 243 | </mediaobject> |
259 | </mediaobject> |
| 244 | 260 | ||
| 245 | <title>Slab allocator scheme.</title> |
261 | <title>Slab allocator scheme.</title> |
| 246 | </figure> |
262 | </figure> |
| 247 | </para> |
263 | </para> |