kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* How and where are a processes's PTEs set when mmaping a file in a tmpfs?
@ 2020-09-01 19:33 Bijan Tabatabai
  0 siblings, 0 replies; only message in thread
From: Bijan Tabatabai @ 2020-09-01 19:33 UTC (permalink / raw)
  To: kernelnewbies

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@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-05  2:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01 19:33 How and where are a processes's PTEs set when mmaping a file in a tmpfs? Bijan Tabatabai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).