How and where are a processes's PTEs set when mmaping a file in a tmpfs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am looking into what happens under the hood when a file on a tmpfs
partition gets mmap'd. I am particularly interested in seeing how the
PTEs for the new memory region are populated, but I can't seem to find
exactly where that happens. I tried looking through the shmem_mmap and
shmem_fault functions as well as other places in mm/shmem.c without
much luck, though it is possible I just missed it.

Can someone point me in the right direction?

Thanks,
Bijan

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux