History

mm: adjust apply_to_pfn_range interface for dropped token.

mm/pgtable: drop pgtable_t variable from pte_fn_t functions drops the token came in via the hmm tree, this caused lots of conflicts, but applying this cleanup patch should reduce it to something easier to handle. Just accept the token is unused at this point.

Dave Airlie committed 7 years ago

Commit 6dfc43d1 parent f27b99a3 files · +6 −8Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/mm.h+1−1
@@ -2687,7 +2687,7 @@ extern int apply_to_page_range(struct mm_struct *mm, unsigned long address, · 2686 unmodified lines
2687 unsigned long size, pte_fn_t fn, void *data);2687 unsigned long size, pte_fn_t fn, void *data);
2688 2688
2689struct pfn_range_apply;2689struct pfn_range_apply;
2690typedef int (*pter_fn_t)(pte_t *pte, pgtable_t token, unsigned long addr,2690typedef int (*pter_fn_t)(pte_t *pte, unsigned long addr,
2691 struct pfn_range_apply *closure);2691 struct pfn_range_apply *closure);
2692struct pfn_range_apply {2692struct pfn_range_apply {
2693 struct mm_struct *mm;2693 struct mm_struct *mm;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t