I think that the problem does not locate at the pte_offset_map because it gives a positive result. In the code above, the command that make freeze the system is the memcpy
...
I'm writing a linux driver that reading the data of a page frame of an process. But when I use it, it make immediately freeze the system. Can you help me? Thank for reading my question!
...