linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: CAI Qian <caiqian@redhat.com>
To: Eric B Munson <emunson@mgebm.net>
Cc: linux-mm <linux-mm@kvack.org>, mel@csn.ul.ie
Subject: Re: [PATCH] hugetlb: remove overcommit sysfs for 1GB pages
Date: Wed, 5 Jan 2011 02:31:39 -0500 (EST)	[thread overview]
Message-ID: <170350174.135335.1294212699514.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> (raw)
In-Reply-To: <1831207094.134996.1294203755749.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com>


----- 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:
 [<ffffffff81130a40>] ? nr_overcommit_hugepages_store+0x0/0x70
 [<ffffffff8100c9ae>] ? apic_timer_interrupt+0xe/0x20
 [<ffffffff81130a40>] ? nr_overcommit_hugepages_store+0x0/0x70
 [<ffffffff81226236>] ? strict_strtoul+0x46/0x70
 [<ffffffff81130a7a>] ? nr_overcommit_hugepages_store+0x3a/0x70
 [<ffffffff811e047b>] ? selinux_file_permission+0xfb/0x150
 [<ffffffff811d9473>] ? security_file_permission+0x23/0x90
 [<ffffffff811b9ae5>] ? sysfs_write_file+0x115/0x180
 [<ffffffff811504f8>] ? vfs_write+0xc8/0x190
 [<ffffffff81150d61>] ? sys_write+0x51/0x90
 [<ffffffff8100c0f4>] ? 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2011-01-05  7:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2026935485.119940.1294126785849.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com>
2011-01-04  7:42 ` [PATCH] hugetlb: remove overcommit sysfs for 1GB pages CAI Qian
2011-01-04 17:56   ` Eric B Munson
2011-01-05  5:02     ` CAI Qian
2011-01-05  7:31       ` CAI Qian [this message]
2011-01-05 11:36         ` CAI Qian
2011-01-05 15:02     ` CAI Qian
2011-01-05 16:44       ` Eric B Munson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=170350174.135335.1294212699514.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com \
    --to=caiqian@redhat.com \
    --cc=emunson@mgebm.net \
    --cc=linux-mm@kvack.org \
    --cc=mel@csn.ul.ie \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).