Re: query on kamalloc/highmem

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

 



Hi...


Why we cannot kmalloc(GFP_HIGHUSER) ?
Because it returns virtual address and to get virtual address of pages from
high memory we need to kmap ?
AFAIK your opinion is correct.
Then how to allocate pages from highmem alloc_pages, and then kmap?

correct.
How to free pages from highmem ? kunmap and  then ?
free them using free_pages()

regards,

Mulyadi


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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