perf: Update the mmap control page on mmap()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 21 Nov 2011 14:13:29 +0000 (15:13 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 21 Dec 2011 10:01:05 +0000 (11:01 +0100)
commit9a0f05cb36888550d1509d60aa55788615abea44
treedb001d4345d12cad98b7df4f29ca98e572087a7a
parentf1ac18af219835fd5b8e19c14d2dd75c55f78737
perf: Update the mmap control page on mmap()

Apparently we didn't update the mmap control page right after mmap(),
which leads to surprises when userspace wants to use it.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Arun Sharma <asharma@fb.com>
Link: http://lkml.kernel.org/n/tip-dcpi7164djsexmx6ya7lilrc@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/events/core.c