User Tools

Site Tools


mywiki:linux:page_allocation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mywiki:linux:page_allocation [2016/05/18 15:21] shaoguohmywiki:linux:page_allocation [2019/09/15 18:55] (current) – external edit 127.0.0.1
Line 1: Line 1:
 | Reference |  | | Reference |  |
  
-Linux Page Allocation 
  
 +====== Address Conversion ======
 +===== page to Virtual address =====
 +<file>
 +struct page *page;
 +unsigned char *p;
 +p = page_address(page);
 +</file>
 +
 +Other APIs:
 +
 +  * kmap_atomic
 +  * __kunmap_atomic
 +====== Linux Page Allocation ======
  
 Allocate pages Allocate pages
mywiki/linux/page_allocation.1463556072.txt.gz · Last modified: (external edit)