Skip to contentSkip to conversation

Regarding the map variable in free_area_struct

DISCUSSION Jagadeesh Bhaskar P 1 participant 1 message Nov 24, 2004

lore
Share & tools
lore
#0 lore raw

It is said in TLDP doc for the kernel that map variable is used as a bitmask. If Nth block is free, correspondingly the Nth bit is set. How is this implemented using the map variable? what I cant comprehend is the significance of making map as:

"unsigned long* map"

Can someone help me in this regard!!

Signature · 3 lines
With regards,

Jagadeesh Bhaskar P