-void acct_arg_size(struct linux_binprm *bprm, unsigned long pages)
-{
- struct mm_struct *mm = current->mm;
- long diff = (long)(pages - bprm->vma_pages);
-
- if (!mm || !diff)
- return;
-
- bprm->vma_pages = pages;
-
- down_write(&mm->mmap_sem);
- mm->total_vm += diff;
- up_write(&mm->mmap_sem);
-}
-
-struct page *get_arg_page(struct linux_binprm *bprm, unsigned long pos,