Skip to contentSkip to conversation

Questions reg. mm

DISCUSSION Muzaffer Ozakca 1 participant 1 message Jul 30, 2001

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to implement a checkpoint/restart mechanism in the kernel. But, there are some points that are not very clear, I'd like to ask. Mostly in MM.

1) I will save and then later restore the contents of vmas'. Should I store the protections, etc. of every page contained by these vmas or setting protections just on vmas is adequate?

2) How to know when to use one of these functions for allocation:
kmalloc(), get_free_page(), vmalloc(), mmap() -what else-?

3) Is this the right list to send out the questions of above kind? Because I will have more questions about the kernel..

Thanks.

--
muzaffer