zap_page_range(9)
zap_page_range – remove user pages in a given range
Synopsis
void zap_page_range(struct vm_area_struct *vma, unsigned long start, unsigned long size, struct zap_details *details);Arguments
vma
- vm_area_struct holding the applicable pages
start
- starting address of pages to zap
size
- number of bytes to zap
details
- details of shared cache invalidation
Description
Caller must protect the VMA list