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/19 09:40] shaoguohmywiki:linux:page_allocation [2019/09/15 18:55] (current) – external edit 127.0.0.1
Line 3: Line 3:
  
 ====== Address Conversion ====== ====== Address Conversion ======
-===== Physical Address to Virtual address =====+===== page to Virtual address ===== 
 +<file>
 struct page *page; struct page *page;
 unsigned char *p; unsigned char *p;
 p = page_address(page); p = page_address(page);
 +</file>
  
 +Other APIs:
 +
 +  * kmap_atomic
 +  * __kunmap_atomic
 ====== Linux Page Allocation ====== ====== Linux Page Allocation ======
  
mywiki/linux/page_allocation.1463622055.txt.gz · Last modified: (external edit)