>
> If the kernel wants to access the high memory, it will map it into the
> virtual address space of the KERNEL (3GB -> 4GB), right? Now at this
> point, what will happen to the original (identity) mapping of that
> kernel virtual memory address (to which it has now mapped the high
> memory)?
>
> TIA,
>
> Rajat
>
That is why kernel does not access the whole 1 GB, it's only 896MB, the rest
of the 128MB is used to create temp page table entries for the high mem.
e.g. if you have 2 GB of ram, then the 896 MB will be identity mapped while
for the rest 1GB + 128MB we will use the 128 MB kernel address space for
accessing the "high memory".