Linux do_coredump() and SMP systems

Greg KH greg at
Wed Feb 18 11:01:19 EST 2015

On Wed, Feb 18, 2015 at 11:44:32AM +0530, Sudharsan Vijayaraghavan wrote:
> We are doing prototype so much change have gone into kernel , we are
> finding it difficult to upgrade to latest immediately

What changes are you making to the kernel that you are sticking with
such an old version (3.8 is 2 years old now, and over 155 thousand
changes have happened to the kernel since then)?

> However I ran through the code once again, indeed kernel handles it
> down_write(&mm->mmap_sem); in coredump_wait() makes sure the second
> coredump is stopped and returns negative for core_waiters

Great, so it works now?


greg k-h

More information about the Kernelnewbies mailing list