Re: [PATCH 3/5] v2 seccomp_filters: Enable ftrace-based system call filtering

Ingo Molnar
2011-05-26T18:39:13Z

* Peter Zijlstra <peterz@infradead.org> wrote:

> On Thu, 2011-05-26 at 20:15 +0200, Ingo Molnar wrote:
>
> > Incidentally i suggested this to Pekka just yesterday: i think we
> > should consider guest RAM images to be named files on the local
> > filesystem (prefixed with the disk image's name or so, for easy
> > identification),
>
> That'll break THP and KSM, both rely and work on anon only.

No reason they should be limited to anon only though.

Also, don't we have some sort of anonfs, from which we could get an
fd, which, if mmap()-ed produces regular anonymous shared memory?

That fd could be passed over to other processes, who could then
mmap() the new piece of shared-anon memory as well.

Thanks,

Ingo