[ofa-general] Re: EMM: Require single threadedness for registration.
Christoph Lameter
clameter at sgi.com
Wed Apr 2 15:41:34 PDT 2008
On Thu, 3 Apr 2008, Andrea Arcangeli wrote:
> Why can't it fire on the mm_struct where GRU just registered? That
> mm_struct existed way before GRU registered, and VM is free to unmap
> it w/o mmap_sem if there was any memory pressure.
Right. Hmmm... Bad situation. We would have invalidate_start take
a lock to prevent registration until _end has run.
We could use stop_machine_run to register the notifier.... ;-).
More information about the general
mailing list