Rev 96 | Rev 101 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 96 | Rev 97 | ||
|---|---|---|---|
| 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"> |
62 | <imageobject role="pdf"> |
| 63 | <imagedata fileref="images.vector/frame_alloc.eps" format="EPS" /> |
63 | <imagedata fileref="images.vector/frame_alloc.pdf" format="PDF" /> |
| 64 | </imageobject> |
64 | </imageobject> |
| 65 | 65 | ||
| 66 | <imageobject role="html"> |
66 | <imageobject role="html"> |
| 67 | <imagedata fileref="images/frame_alloc.png" format="PNG" /> |
67 | <imagedata fileref="images/frame_alloc.png" format="PNG" /> |
| 68 | </imageobject> |
68 | </imageobject> |
| Line 122... | Line 122... | ||
| 122 | size. On the other hand, the buddy allocator suffers increased internal |
122 | size. On the other hand, the buddy allocator suffers increased internal |
| 123 | fragmentation of memory and is not suitable for general kernel |
123 | fragmentation of memory and is not suitable for general kernel |
| 124 | allocations. This purpose is better addressed by the <link |
124 | allocations. This purpose is better addressed by the <link |
| 125 | linkend="slab">slab allocator</link>.<figure> |
125 | linkend="slab">slab allocator</link>.<figure> |
| 126 | <mediaobject id="buddy_alloc"> |
126 | <mediaobject id="buddy_alloc"> |
| 127 | <imageobject role="eps"> |
127 | <imageobject role="pdf"> |
| 128 | <imagedata fileref="images.vector/buddy_alloc.eps" format="EPS" /> |
128 | <imagedata fileref="images.vector/buddy_alloc.pdf" format="PDF" /> |
| 129 | </imageobject> |
129 | </imageobject> |
| 130 | 130 | ||
| 131 | <imageobject role="html"> |
131 | <imageobject role="html"> |
| 132 | <imagedata fileref="images/buddy_alloc.png" format="PNG" /> |
132 | <imagedata fileref="images/buddy_alloc.png" format="PNG" /> |
| 133 | </imageobject> |
133 | </imageobject> |
| Line 245... | Line 245... | ||
| 245 | it is immediately freed.</para> |
245 | it is immediately freed.</para> |
| 246 | 246 | ||
| 247 | <para> |
247 | <para> |
| 248 | <figure> |
248 | <figure> |
| 249 | <mediaobject id="slab_alloc"> |
249 | <mediaobject id="slab_alloc"> |
| 250 | <imageobject role="eps"> |
250 | <imageobject role="pdf"> |
| 251 | <imagedata fileref="images.vector/slab_alloc.eps" format="EPS" /> |
251 | <imagedata fileref="images.vector/slab_alloc.pdf" format="PDF" /> |
| 252 | </imageobject> |
252 | </imageobject> |
| 253 | 253 | ||
| 254 | <imageobject role="html"> |
254 | <imageobject role="html"> |
| 255 | <imagedata fileref="images/slab_alloc.png" format="PNG" /> |
255 | <imagedata fileref="images/slab_alloc.png" format="PNG" /> |
| 256 | </imageobject> |
256 | </imageobject> |