Exactly.
> elf_core_dump should call down_write to prevent concurrent expand_stack
expand_stack doesn't need the write sem, see the locking comments in the
00_silent-stack-overflow patch in -aa.
> calls, and acquire the pagetable_lock around some lines (right now it
> walks the page tables without locking). I'll check the other coredump
Also expand_stack needs the page_table_lock, that's ok.
> I'll write a patch that moves the locking into the coredump handlers,
> then we can compare that with Andrea's proposal.
Ok.
Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/