/proc/buddyinfo

This file exports some information about the buddy allocator.

Each column of numbers represents the number of pages of that order which are available. In the example below, there are 7 chunks of 2 ^ 0 * PAGE_SIZE available in ZONE_DMA, and 12 chunks of 2 ^ 3 * PAGE_SIZE available in ZONE_NORMAL, etc...

This information can give you a good idea about how fragmented memory is and give you a clue as to how big of an area you can safely allocate.

Example output:

Node 0, zone      DMA      7      1      1      1      1
Node 0, zone   Normal   1213    394     45     12      0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Normal Zone ?!

Suppose the output for the normal zone is as follows:

3 40 30 3 0 1 0 4 0 0

it will be requested 2,16,32,1 and 512 page frames coherently.

how would look like the output for the NORMAL ZONE after everyone this requirements ?

best reagrds, Albert