Re: [RFC v3] Support volatile range for anon vma

Mike Hommey
2012-12-11T07:18:06Z

On Tue, Dec 11, 2012 at 11:41:04AM +0900, Minchan Kim wrote:
> - What's the madvise(addr, length, MADV_VOLATILE)?
>
> It's a hint that user deliver to kernel so kernel can *discard*
> pages in a range anytime.
>
> - What happens if user access page(ie, virtual address) discarded
> by kernel?
>
> The user can see zero-fill-on-demand pages as if madvise(DONTNEED).

What happened to getting SIGBUS?

Mike