From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 5 Jun 2012 04:20:47 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20120605002047.GA11877@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20120604211117.GA10184@altlinux.org> <201206050135.36582.ledest@gmail.com> <20120604211117.GA10184@altlinux.org> <20120604223046.GA10007@shutemov.name> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <201206050135.36582.ledest@gmail.com> <20120604223046.GA10007@shutemov.name> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E 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 00:20:48 -0000 Archived-At: List-Archive: List-Post: --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 05, 2012 at 01:30:47AM +0300, Kirill A. Shutemov wrote: [...] > =E8=CF=D2=CF=DB=CF =C2 =D5=D7=C9=C4=C5=D4=D8 =CE=C1 =DE=A3=CD =DA=C1=CC= =C9=D0=C1=C0=D4 =D0=D2=CF=C3=C5=D3=D3=D9 =D3 =CF=C2=CF=C9=C8 =D3=D4=D2=CF= =CE. >=20 > =F0=CF=D3=CC=C5 'echo t > /proc/sysrq-trigger' =DE=A3-=CE=C9=D4=D8 =C9=CE= =D4=C5=D2=C5=D3=CE=CF=C5 =CF=D4=CE=CF=D3=C9=D4=C5=CC=D8=CE=CF =DC=D4=C9=C8 > =D0=D2=CF=C3=C5=D3=D3=CF=D7 =D7 dmesg =C5=D3=D4=D8? =E4=C1, =C5=D3=D4=D8: [294898.737372] hasher-priv D ffffffff8160c120 0 23921 23920 0x000= 00000 [294898.737372] ffff8807e6291bf8 0000000000000046 0000000000000086 ffff880= 7f5142040 [294898.737372] 0000000000013100 ffff8807e6291fd8 0000000000013100 ffff880= 7e6290000 [294898.737372] 0000000000013100 0000000000013100 ffff8807e6291fd8 0000000= 000013100 [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 =E4=D2=D5=C7=C9=CD=C9 =D3=CC=CF=D7=C1=CD=C9, =DE=D4=CF-=D4=CF =CE=C5 =D4=C1= =CB =D7 =D1=C4=D2=C5 =D3 CLONE_NEWIPC, =C9 =DC=D4=CF =D7=CF=D3=D0=D2=CF=C9= =DA=D7=CF=C4=C9=D4=D3=D1 =CE=C1 =D3=D5=DD=C5=D3=D4=D7=C5=CE=CE=CF =C2=CF=CC=C5=C5 =D0=D2=CF=D3=D4=D9=C8 =D0= =D2=C9=CD=C5=D2=C1=C8, =DE=C5=CD hasher-priv: # time unshare -i /bin/true 0.00user 0.00system 0:10.55elapsed 0%CPU (0avgtext+0avgdata 1232maxresident= )k 0inputs+0outputs (0major+169minor)pagefaults 0swaps $ echo -e '#include \nint main(void){return unshare(CLONE_NEWIPC)<= 0;}' | gcc -xc -O2 -Wall - -o unshare-i # time ./unshare-i 0.00user 0.00system 0:05.55elapsed 0%CPU (0avgtext+0avgdata 1424maxresident= )k 0inputs+0outputs (0major+120minor)pagefaults 0swaps On Tue, Jun 05, 2012 at 01:35:36AM +0300, Led wrote: > =E1 > grep cgroup /proc/mounts > =D0=D2=C9 =DC=D4=CF=CD =D0=D5=D3=D4=CF=CA? # grep -c cgroup /proc/mounts 0 --=20 ldv --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk/NUN4ACgkQfKvmrJ41Nh5/JgCgj8GHVIS3Rzj+rQromvG6baJc 61MAn0HfxrtbBBiUtdNlTJoNHjJHsAtU =zQOM -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC--