login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
14
Re: kernel warning: tried to kill an mm-less task!
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Li Zefan
Subject:
Re: kernel warning: tried to kill an mm-less task!
Date: Monday, April 14, 2008 - 1:06 am
Balbir Singh wrote:
quoted text
> Li Zefan wrote: >> When I ran the same test program I described in a previous patch, >> I got the following warning: >> >> WARNING: at mm/oom_kill.c:320 __oom_kill_task+0x6d/0x101() >> Modules linked in: >> >> Pid: 3856, comm: a.out Not tainted 2.6.25-rc8-mm2 #37 >> [<ffffffff80243941>] warn_on_slowpath+0x64/0xa2 >> [<ffffffff80244e16>] printk+0x5e/0x7b >> [<ffffffff8022b096>] page_count+0x25/0x49 >> [<ffffffff8022b2cd>] show_mem+0x125/0x15a >> [<ffffffff8028f00f>] __oom_kill_task+0x6d/0x101 >> [<ffffffff8028f319>] oom_kill_process+0x16c/0x22e >> [<ffffffff8028f72c>] select_bad_process+0xb0/0x122 >> [<ffffffff8028f8d3>] mem_cgroup_out_of_memory+0x65/0x8a >> [<ffffffff802bee84>] mem_cgroup_charge_common+0xf8/0x215 >> [<ffffffff802a14ac>] handle_mm_fault+0x216/0x6c8 >> [<ffffffff8029ebca>] follow_page+0x191/0x27d >> [<ffffffff80234155>] need_resched+0x31/0x4f >> [<ffffffff802a1c53>] get_user_pages+0x2f5/0x3eb >> [<ffffffff802a1f64>] make_pages_present+0x9e/0xca >> [<ffffffff802a51fc>] mmap_region+0x38c/0x452 >> [<ffffffff802119c4>] arch_get_unmapped_area_topdown+0x1bf/0x2a7 >> [<ffffffff802a5971>] do_mmap_pgoff+0x321/0x39b >> [<ffffffff805037ee>] _cond_resched+0x1c/0x5f >> [<ffffffff80211715>] sys_mmap+0xf5/0x138 >> [<ffffffff8020c6d2>] tracesys+0xd5/0xda >> ---[ end trace fe959fb2f0473e7c ]--- >> tried to kill an mm-less task! >> >> This showed up several times in some seconds, but then didn't appear >> any more. And it's reproducable in a x86_64 box, but doesn't happen >> in a x86_32 one. >> >> And this happens both with and without the oops fixing. >> > > Could we get some more details on which task was chosen to be killed? It will be > nice to see the task flags as well to see if PF_EXITING is set. > > oom_kill_task() has a big WARNING in the comment > > /* WARNING: mm may not be dereferenced since we did not obtain its > * value from get_task_mm(p). This is OK since all we need to do is > * compare mm to q->mm below. > > > I want to see the flags to see if > > PF_BORROWED_MM or PF_EXIT* is set. > >
OK, I'll try. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
kernel warning: tried to kill an mm-less task!
, Li Zefan
, (Mon Apr 14, 12:09 am)
Re: kernel warning: tried to kill an mm-less task!
, KAMEZAWA Hiroyuki
, (Mon Apr 14, 12:46 am)
Re: kernel warning: tried to kill an mm-less task!
, Balbir Singh
, (Mon Apr 14, 1:01 am)
Re: kernel warning: tried to kill an mm-less task!
, Li Zefan
, (Mon Apr 14, 1:06 am)
Re: kernel warning: tried to kill an mm-less task!
, Li Zefan
, (Mon Apr 14, 8:47 pm)
Re: kernel warning: tried to kill an mm-less task!
, Oleg Nesterov
, (Mon Apr 14, 11:17 pm)
s/PF_BORROWED_MM/PF_KTHREAD/ (was: kernel warning: tried t ...
, Oleg Nesterov
, (Tue Apr 15, 3:19 am)
Re: s/PF_BORROWED_MM/PF_KTHREAD/ (was: kernel warning: tri ...
, Jeff Dike
, (Tue Apr 15, 10:10 am)
Re: kernel warning: tried to kill an mm-less task!
, Roland McGrath
, (Tue Apr 15, 1:58 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
Greg Kroah-Hartman
[PATCH 16/36] driver core: cpu: fix section mismatch in cpu.c:store_online
Greg Kroah-Hartman
[PATCH 22/36] PM: Make wakeup flags available whenever CONFIG_PM is set
git
:
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
Johan Herland
[PATCH 6/7] Softrefs: Administrivia associated with softrefs subsystem and git-sof...
linux-netdev
:
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Guo-Fu Tseng
Re: jme: UDP checksum error, and lots of them
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Conor
Re: RFID Reader
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Stuart Henderson
Re: SquidGuard problem
Community First Financial
Teacher A+ Loan
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
ALSA: snd-usb-caiaq: Do not expose hardware input mode 0 of A4DJ
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Colocation donated by:
Syndicate