From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id C4DAF6B0088 for ; Wed, 5 Jan 2011 02:32:05 -0500 (EST) Date: Wed, 5 Jan 2011 02:31:39 -0500 (EST) From: CAI Qian Message-ID: <170350174.135335.1294212699514.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> In-Reply-To: <1831207094.134996.1294203755749.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> Subject: Re: [PATCH] hugetlb: remove overcommit sysfs for 1GB pages MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Eric B Munson Cc: linux-mm , mel@csn.ul.ie List-ID: ----- Original Message ----- > > There are a couple of issues here: first, I think the overcommit > > value being overwritten > > is a bug and this needs to be addressed and fixed before we cover it > > by removing the sysfs > > file. > I have a reproducer mentioned in another thread. The trick is to run > this command at the end, > > echo "" >/proc/sys/vm/nr_overcommit_hugepages This caused the process hung. # echo "" >/sys/kernel/mm/hugepages/hugepages-1048576kB/nr_overcommit_hugepages # echo t >/proc/sysrq-trigger ... bash R running task 0 3189 3183 0x00000080 ffff8804196bfe58 ffffffff8149fcab 00007f4ab98c1700 ffffffff81130a40 ffff8804194495c0 0000000000014d80 0000000000000246 ffff8804196be010 ffff8804196bffd8 0000000000000000 00007f4ab98c1700 0000000000000000 Call Trace: [] ? nr_overcommit_hugepages_store+0x0/0x70 [] ? apic_timer_interrupt+0xe/0x20 [] ? nr_overcommit_hugepages_store+0x0/0x70 [] ? strict_strtoul+0x46/0x70 [] ? nr_overcommit_hugepages_store+0x3a/0x70 [] ? selinux_file_permission+0xfb/0x150 [] ? security_file_permission+0x23/0x90 [] ? sysfs_write_file+0x115/0x180 [] ? vfs_write+0xc8/0x190 [] ? sys_write+0x51/0x90 [] ? sysret_audit+0x16/0x20 ... CAI Qian -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org