remap_pfn_range doubt

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

Hi All,

I am trying to understand how this remap_pfn_range is implemented. I
almost got an idea on the implementation.
However one thing is not clear, they always subtract userspace address
pfn from the physican pfn
( and then adding
it back and
calling the inside function.
I don't understand why they are not directly passing it.

Is there any specific reason for this. Could you please give some
pointers on this?

With Regards
Subin Gangadharan

I am not afraid and I am also not afraid of being afraid.

Kernelnewbies mailing list

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

Add to Google Powered by Linux