+1 vote
in Linux by
Mention the case when we use “user virtual address” instead of “kernel virtual address”?

1 Answer

0 votes
by

When we run a program in userspace then we use “user virtual address” as we do not have any access to kernel virtual memory address. Normally when we are running our program in kernel mode then we use kernel address but in case we have to run our program in kernel mode and that program needs an interaction with a userspace then we will use “user virtual address” and be careful to first translate it to user virtual address.

Related questions

+1 vote
asked May 10, 2021 in Linux by rajeshsharma
0 votes
asked Oct 3, 2021 in Linux by john ganales
...