search for: lowmem_vaddr

Displaying 2 results from an estimated 2 matches for "lowmem_vaddr".

2007 Apr 18
1
how set_pte_at()'s vaddr and ptep args relate
...sponds to the vaddr, but is this necessarily the case? For example, it is valid to pass a non-highmem page kmap_atomic(), which will simply return a direct pointer to the page. kunmap_atomic() takes this address, as well as the kmap slot index, and ends up calling: set_pte_at(&init_mm, lowmem_vaddr, kmap_ptep, 0); ie, the vaddr and the ptep bear no relationship to each other. Is this a bug in kunmap_atomic (it shouldn't try to clear the pte for lowmem addresses), or should set_pte_at's implementation be able to cope with this. Certainly at the moment, having mismatched ptep and v...
2007 Apr 18
1
how set_pte_at()'s vaddr and ptep args relate
...sponds to the vaddr, but is this necessarily the case? For example, it is valid to pass a non-highmem page kmap_atomic(), which will simply return a direct pointer to the page. kunmap_atomic() takes this address, as well as the kmap slot index, and ends up calling: set_pte_at(&init_mm, lowmem_vaddr, kmap_ptep, 0); ie, the vaddr and the ptep bear no relationship to each other. Is this a bug in kunmap_atomic (it shouldn't try to clear the pte for lowmem addresses), or should set_pte_at's implementation be able to cope with this. Certainly at the moment, having mismatched ptep and v...