Re: doubt regarding mmap/mmap2 system call and implementation

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

 



I wish we could use mmap in kernel space but I think its hard to implement this, all kernel memory is directly and permanently mapped and not swappable. You can vmalloc in kernel but you cannot mmap..

Sorry I went wrong there, what I meant was you cannot have a page fault trigger on kernel virtual memory so mmap in kernel driver code wouldn't work.

thanks,
-Joel


[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