mirror of
https://github.com/drasko/codezero.git
synced 2026-04-17 17:29:04 +02:00
munmap compiling.
do_munmap currently shrinks, splits, destroys vmas and unmaps the given virtual address range from the task. Unmapped pages may go completely unused but page reclamation will be done in another part of the pager rather than directly on the munmap instance.
This commit is contained in:
@@ -188,7 +188,6 @@ find_vma_byrange(unsigned long pfn_start,
|
||||
unsigned long pfn_end, struct list_head *vm_area_list)
|
||||
{
|
||||
struct vm_area *vma;
|
||||
unsigned long pfn = __pfn(addr);
|
||||
|
||||
list_for_each_entry(vma, vm_area_list, list) {
|
||||
if ((pfn_start >= vma->pfn_start) && (pfn_start < vma->pfn_end))
|
||||
|
||||
Reference in New Issue
Block a user