2007-11-15 23:48:10

by Jeff Dike

[permalink] [raw]
Subject: mm creation/destruction hooks

The changelog for commit d6dd61c831226f9cd7750885da04d360d6455101 says
arch_dup_mmap, which is called when a new mmap is created at fork

Is there a reason that you're not tracking mm creation in exec?

Jeff


2007-11-16 00:22:36

by Jeremy Fitzhardinge

[permalink] [raw]
Subject: Re: mm creation/destruction hooks

Jeff Dike wrote:
> The changelog for commit d6dd61c831226f9cd7750885da04d360d6455101 says
> arch_dup_mmap, which is called when a new mmap is created at fork
>
> Is there a reason that you're not tracking mm creation in exec?

activate_mm() does that.

J

2007-11-16 03:26:15

by Jeff Dike

[permalink] [raw]
Subject: Re: mm creation/destruction hooks

On Thu, Nov 15, 2007 at 04:22:14PM -0800, Jeremy Fitzhardinge wrote:
> activate_mm() does that.

Yup, which I realized ~10 seconds after sending mail...

Oh well.

Jeff

--
Work email - jdike at linux dot intel dot com