From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Date: Tue, 5 Jun 2012 09:06:22 +0300 From: "Kirill A. Shutemov" To: ALT Devel discussion list Message-ID: <20120605060622.GA11312@shutemov.name> References: <20120604211117.GA10184@altlinux.org> <201206050135.36582.ledest@gmail.com> <20120604211117.GA10184@altlinux.org> <20120604223046.GA10007@shutemov.name> <20120605002047.GA11877@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120605002047.GA11877@altlinux.org> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [devel] Q: exit_group slowness X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2012 06:04:52 -0000 Archived-At: List-Archive: List-Post: On Tue, Jun 05, 2012 at 04:20:47AM +0400, Dmitry V. Levin wrote: > On Tue, Jun 05, 2012 at 01:30:47AM +0300, Kirill A. Shutemov wrote: > [...] > > Хорошо б увидеть на чём залипают процессы с обоих строн. > > > > После 'echo t > /proc/sysrq-trigger' чё-нить интересное относительно этих > > процессов в dmesg есть? > > Да, есть: > [294898.737372] hasher-priv D ffffffff8160c120 0 23921 23920 0x00000000 > [294898.737372] ffff8807e6291bf8 0000000000000046 0000000000000086 ffff8807f5142040 > [294898.737372] 0000000000013100 ffff8807e6291fd8 0000000000013100 ffff8807e6290000 > [294898.737372] 0000000000013100 0000000000013100 ffff8807e6291fd8 0000000000013100 > [294898.737372] Call Trace: > [294898.737372] [] schedule+0x3a/0x50 > [294898.737372] [] schedule_timeout+0x1cd/0x2c0 > [294898.737372] [] ? mqueue_destroy_inode+0x17/0x20 > [294898.737372] [] wait_for_common+0xc4/0x160 > [294898.737372] [] ? try_to_wake_up+0x2a0/0x2a0 > [294898.737372] [] ? call_rcu_sched+0x10/0x20 > [294898.737372] [] ? call_rcu_bh+0x20/0x20 > [294898.737372] [] wait_for_completion+0x18/0x20 > [294898.737372] [] _rcu_barrier.clone.31+0x9b/0xb0 > [294898.737372] [] rcu_barrier_sched+0x10/0x20 > [294898.737372] [] rcu_barrier+0x9/0x10 > [294898.737372] [] deactivate_locked_super+0x49/0x90 > [294898.737372] [] deactivate_super+0x45/0x60 > [294898.737372] [] mntput_no_expire+0x104/0x150 > [294898.737372] [] mntput+0x1c/0x30 > [294898.737372] [] kern_unmount+0x27/0x30 > [294898.737372] [] mq_put_mnt+0x10/0x20 > [294898.737372] [] put_ipc_ns+0x3f/0xb0 > [294898.737372] [] free_nsproxy+0x3c/0xa0 > [294898.737372] [] switch_task_namespaces+0x33/0x40 > [294898.737372] [] exit_task_namespaces+0xb/0x10 > [294898.737372] [] do_exit+0x4b4/0x8a0 > [294898.737372] [] do_group_exit+0x53/0xc0 > [294898.737372] [] sys_exit_group+0x12/0x20 > [294898.737372] [] system_call_fastpath+0x16/0x1b Похоже вот на это: http://lkml.org/lkml/2012/6/3/34 Ниже по трэду Пол предлагает возможное решение. -- Kirill A. Shutemov