Re: [PATCH] hugetlb: remove overcommit sysfs for 1GB pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- 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@xxxxxxxxxx  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@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]