# Re: Page zapping and page table reclaim

- From: Rik van Riel \<riel@surriel.com\>
- Date: 2021-03-18 18:04:50 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/03/6507034
- Thread: https://ratatoskr.run/linux-mm/2021/03/6506902/t.md

```text
On Thu, 2021-03-11 at 19:14 +0100, David Hildenbrand wrote:
> Hi folks,
> 
> I was wondering, is there any mechanism that reclaims basically
> empty 
> page tables in a running process?

Currently we have do_munmap -> unmap_region -> free_pgtables,
which is hooked up only to sys_munmap.

We don't seem to have an equivalent for the various MADV_
options that lead to freed memory.

-- 
All Rights Reversed.
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-mm/2021/03/6507034/attachment/0) (application/pgp-signature, 488 bytes)
