Re: CROSS_MEMORY_ATTACH default y?

From: Christopher Yeoh
Date: Thu May 31 2012 - 21:07:19 EST


On Thu, 31 May 2012 17:42:24 +0200
Borislav Petkov <bp@xxxxxxxxx> wrote:

> + LKML.
>
> On Thu, May 31, 2012 at 05:35:12PM +0200, Borislav Petkov wrote:
> > Hi,
> >
> > can you please explain why CROSS_MEMORY_ATTACH is default y? Why
> > should those process_vm_{readv,writev} syscalls be enabled by
> > default?

There was a bit of a discussion at the time I submitted the patch:

https://lkml.org/lkml/2012/4/23/606

Basically CMA had been in for a while already in a released kernel
before I submitted a patch to allow it to be disabled. So the patch
preserves existing behaviour.

Regards,

Chris
--
cyeoh@xxxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/