From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Wed, 18 Feb 2015 08:01:19 -0800 Subject: Linux do_coredump() and SMP systems In-Reply-To: References: <20150217151206.GB18008@kroah.com> Message-ID: <20150218160119.GA17417@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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? confused, greg k-h