mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
rmap: drop support of non-linear mappings
We don't create non-linear mappings anymore. Let's drop code which handles them in rmap. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
1da4b35b00
commit
27ba0644ea
11 changed files with 18 additions and 300 deletions
|
@ -246,7 +246,6 @@ int page_mapped_in_vma(struct page *page, struct vm_area_struct *vma);
|
|||
* arg: passed to rmap_one() and invalid_vma()
|
||||
* rmap_one: executed on each vma where page is mapped
|
||||
* done: for checking traversing termination condition
|
||||
* file_nonlinear: for handling file nonlinear mapping
|
||||
* anon_lock: for getting anon_lock by optimized way rather than default
|
||||
* invalid_vma: for skipping uninterested vma
|
||||
*/
|
||||
|
@ -255,7 +254,6 @@ struct rmap_walk_control {
|
|||
int (*rmap_one)(struct page *page, struct vm_area_struct *vma,
|
||||
unsigned long addr, void *arg);
|
||||
int (*done)(struct page *page);
|
||||
int (*file_nonlinear)(struct page *, struct address_space *, void *arg);
|
||||
struct anon_vma *(*anon_lock)(struct page *page);
|
||||
bool (*invalid_vma)(struct vm_area_struct *vma, void *arg);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue