| To: | trisha yad <trisha1march@gmail.com> |
|---|---|
| Subject: | Re: Issue with core dump |
| From: | Tejun Heo <htejun@gmail.com> |
| Date: | Wed, 2 Nov 2011 08:31:46 -0700 |
| Cc: | Oleg Nesterov <oleg@redhat.com>, linux-mm <linux-mm@kvack.org>, Russell King - ARM Linux <linux@arm.linux.org.uk>, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, kamezawa.hiroyu@jp.fujitsu.com, mhocko@suse.cz, rientjes@google.com, Andrew Morton <akpm@linux-foundation.org>, Konstantin Khlebnikov <khlebnikov@openvz.org>, KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>, "Rafael J. Wysocki" <rjw@sisk.pl>, Rusty Russell <rusty@rustcorp.com.au> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=86zeSHoh7AYAtjTp13VwjcUHO3MnBAPC2DVSodsMfwc=; b=gDJF/kmXHE93pXmRrxlOXEtum8xz7w+0O+hQCmo/FB9Rz8b87Lr1c8aJ7LWACgmbRE QXZhhAPspKwIYERhcruweHt22VQ4E695K01jEIKadKAHtyD6nfaret0MQNAm1KeMxFc4 VhGFjU5VGDetySHjxnJ8l9yNGdgKRkVapnfvA= |
| In-reply-to: | <CAGr+u+wgAYVWgdcG6o+6F0mDzuyNzoOxvsFwq0dMsR3JNnZ-cA@mail.gmail.com> |
| References: | <CAGr+u+zkPiZpGefstcbJv_cj929icWKXbqFy1uR22Hns1hzFeQ@mail.gmail.com> <20111101152320.GA30466@redhat.com> <CAGr+u+wgAYVWgdcG6o+6F0mDzuyNzoOxvsFwq0dMsR3JNnZ-cA@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.20 (2009-06-14) |
Hello, On Wed, Nov 02, 2011 at 12:03:39PM +0530, trisha yad wrote: > In loaded embedded system the time at with code hit do_user_fault() > and core_dump_wait() is bit > high, I check on my system it took 2.7 sec. so it is very much > possible that core dump is not correct. This may sound like arguing over semantics but it doesn't matter how long it takes, it's still correct. You're arguing that it's not immediate enough. IOW, no matter how fast you make it, you cannot guarantee that results from slow operation wouldn't appear. Also, the time between do_user_fault() and actual core dumping isn't the important factor here. do_user_fault() directly triggers delivery of SIGSEGV (or BUS) and signal delivery will immediately deliver SIGKILL to all other threads in the process, so it should be immediate enough, or, rather, we don't have any way to make it any more immediate. It's basically direct call + IPI (if some threads are running on other cpus). Are you actually seeing artifacts from delayed core dump? Given the code path, I'm highly skeptical that would be the actual case. If you're using shared memory between different processes, then that delay would matter but for such cases there's nothing much to do. Thanks. -- tejun |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Fix off-by-two in arcs_cmdline buffer size check, Ralf Baechle |
|---|---|
| Next by Date: | Re: Issue with core dump, Oleg Nesterov |
| Previous by Thread: | Re: Issue with core dump, Ralf Baechle |
| Next by Thread: | Re: Issue with core dump, Oleg Nesterov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |