Skip to contentSkip to conversation

About swapper_page_dir and processes' page directory

DISCUSSION Hua Ji 1 participant 1 message May 18, 2001

lore
Share & tools
lore

Hua Ji

author
#0 lore raw

Folks,

Get a question today. Thanks in advance.

As we know, vmalloc and other memory allocation/de-allocation will change/update
the swapper_page_dir maintain by the kernel.

I am wondering when/how the kernel synchronzie the change to user level processes' page
directory entries from the 768th to the 1023th.

Those entries get copied from swapper_page_dir when a user process get forked/created. Does the kernel
frequently update this information every time when the swapper_page_dir get changed?

Regards,

Mike