login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
10
Re: 2.6.26-rc5-mm1: kernel BUG at mm/filemap.c:575!
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Nick Piggin
Subject:
Re: 2.6.26-rc5-mm1: kernel BUG at mm/filemap.c:575!
Date: Monday, June 9, 2008 - 7:21 pm
On Tuesday 10 June 2008 08:37, Andrew Morton wrote:
quoted text
> On Tue, 10 Jun 2008 00:45:59 +0400 > > Alexey Dobriyan <adobriyan@gmail.com> wrote: > > This happened after LTP run finished. > > > > ------------[ cut here ]------------ > > kernel BUG at mm/filemap.c:575! > > invalid opcode: 0000 [1] PREEMPT SMP DEBUG_PAGEALLOC > > last sysfs file: /sys/kernel/uevent_seqnum > > CPU 1 > > Modules linked in: ext2 nf_conntrack_irc xt_state iptable_filter > > ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack > > ip_tables x_tables usblp uhci_hcd ehci_hcd usbcore sr_mod cdrom Pid: > > 19327, comm: pdflush Not tainted 2.6.26-rc5-mm1 #4 > > RIP: 0010:[<ffffffff80266a37>] [<ffffffff80266a37>] > > unlock_page+0x17/0x40 RSP: 0018:ffff81015c697540 EFLAGS: 00010246 > > RAX: 0000000000000000 RBX: ffffe20000e38c08 RCX: 0000000000000034 > > RDX: 0000000000000000 RSI: ffffe20000e38c08 RDI: ffffe20000e38c08 > > RBP: ffff81015c697550 R08: 0000000000000002 R09: 000000000007794e > > R10: ffffffff8028b6f1 R11: 0000000000000001 R12: ffffe20000e38c08 > > R13: 0000000000000000 R14: ffff81015c6977a0 R15: ffff81015c6978c0 > > FS: 0000000000000000(0000) GS:ffff81017f845320(0000) > > knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b > > CR2: 00007fb64f84f020 CR3: 0000000000201000 CR4: 00000000000006e0 > > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 > > Process pdflush (pid: 19327, threadinfo ffff81015c696000, task > > ffff81015c795690) Stack: ffff81015c697550 0000000000000000 > > ffff81015c697680 ffffffff802722ce ffffe20005367df8 ffff81015c697640 > > 0000000000000000 0000000000000001 0000000000000001 0000000000000001 > > ffffe20000b02d38 ffffe20001274970 Call Trace: > > [<ffffffff802722ce>] shrink_page_list+0x2ce/0x6d0 > > [<ffffffff80254f37>] ? mark_held_locks+0x47/0x90 > > [<ffffffff8025517d>] ? trace_hardirqs_on+0xd/0x10 > > [<ffffffff802550e9>] ? trace_hardirqs_on_caller+0xc9/0x150 > > [<ffffffff802728f4>] shrink_list+0x224/0x590 > > [<ffffffff80272eab>] shrink_zone+0x24b/0x330 > > [<ffffffff80273407>] try_to_free_pages+0x267/0x3e0 > > > > ... > > We unlocked an already-unlocked page. > > Although pretty straightforward, shrink_page_list() is, umm, large. > > This part: > > if (PagePrivate(page)) { > if (!try_to_release_page(page, sc->gfp_mask)) > goto activate_locked; > if (!mapping && page_count(page) == 1) { > unlock_page(page); > if (put_page_testzero(page)) > goto free_it; > else { > nr_reclaimed++; > continue; > } > } > } > > if (!mapping || !__remove_mapping(mapping, page)) > goto keep_locked; > > free_it: > unlock_page(page); > > has a very obvious double-unlock. It was added by the obviously-buggy, > reviewed-by-everyone mm-speculative-page-references.patch - part of > Nick's lockless pagecache work.
Dang, I missed this hunk when porting up the patches. free_it obviously should be below the unlock_page. Sorry bout that.
quoted text
> argh. This means that I need to a) stop merging anything and b) be > sent a fix really fast or drop them all and fix up all the fallout and > c) get -mm2 out asap to that someone can test all the other > page-reclaim changes. argh. > > Also, what's up with that "continue" which got added there? We just > leave the page floating about without reattaching it to any LRU? > Where's the code comment explaining wth is going on in there?
Attached.
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
2.6.26-rc5-mm1
, Andrew Morton
, (Mon Jun 9, 5:39 am)
Re: 2.6.26-rc5-mm1
, Balbir Singh
, (Mon Jun 9, 10:27 am)
[BUG] 2.6.26-rc5-mm1- kernel BUG at arch/x86/kernel/io_api ...
, Kamalesh Babulal
, (Mon Jun 9, 10:31 am)
Re: 2.6.26-rc5-mm1
, Mariusz Kozlowski
, (Mon Jun 9, 12:14 pm)
[PATCH] Re: 2.6.26-rc5-mm1 - fix parenthesis in drivers/ne ...
, Mariusz Kozlowski
, (Mon Jun 9, 12:20 pm)
2.6.26-rc5-mm1: kernel BUG at mm/filemap.c:575!
, Alexey Dobriyan
, (Mon Jun 9, 1:45 pm)
Re: 2.6.26-rc5-mm1: kernel BUG at mm/filemap.c:575!
, Alexey Dobriyan
, (Mon Jun 9, 2:40 pm)
Re: 2.6.26-rc5-mm1
, Andrew Morton
, (Mon Jun 9, 2:48 pm)
Re: [BUG] 2.6.26-rc5-mm1- kernel BUG at arch/x86/kernel/io ...
, Andrew Morton
, (Mon Jun 9, 2:55 pm)
Re: 2.6.26-rc5-mm1
, Byron Bradley
, (Mon Jun 9, 3:11 pm)
sock lockup -> process in D state [Was: 2.6.26-rc5-mm1]
, Jiri Slaby
, (Mon Jun 9, 3:33 pm)
Re: 2.6.26-rc5-mm1: kernel BUG at mm/filemap.c:575!
, Andrew Morton
, (Mon Jun 9, 3:37 pm)
Re: sock lockup -> process in D state [Was: 2.6.26-rc5-mm1]
, Andrew Morton
, (Mon Jun 9, 4:01 pm)
Re: 2.6.26-rc5-mm1: kernel BUG at mm/filemap.c:575!
, Nick Piggin
, (Mon Jun 9, 7:21 pm)
Re: 2.6.26-rc5-mm1
, Mariusz Kozlowski
, (Mon Jun 9, 9:57 pm)
Re: 2.6.26-rc5-mm1
, Andrew Morton
, (Mon Jun 9, 10:01 pm)
Re: sock lockup -> process in D state [Was: 2.6.26-rc5-mm1]
, Jiri Slaby
, (Mon Jun 9, 11:19 pm)
Re: 2.6.26-rc5-mm1
, Peter 1 Oberparleiter
, (Tue Jun 10, 1:39 am)
Re: [BUG] 2.6.26-rc5-mm1- kernel BUG at arch/x86/kernel/io ...
, Kamalesh Babulal
, (Tue Jun 10, 5:23 am)
[patch] UWB: make UWB selectable on all archs with USB support
, David Vrabel
, (Wed Jun 11, 4:04 am)
Re: [patch] UWB: make UWB selectable on all archs with USB ...
, Byron Bradley
, (Wed Jun 11, 3:26 pm)
Re: [BUG] 2.6.26-rc5-mm1- kernel BUG at arch/x86/kernel/io ...
, Kamalesh Babulal
, (Sun Jun 15, 10:16 am)
Re: 2.6.26-rc5-mm1
, Mariusz Kozlowski
, (Tue Jun 17, 3:26 pm)
Re: 2.6.26-rc5-mm1
, Peter Oberparleiter
, (Wed Jun 18, 1:35 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
Linus Torvalds
Linux 2.6.34-rc4
Mingming Cao
Re: [RFC 1/4] Large Blocksize support for Ext2/3/4
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Len Brown
Re: fatal: unable to create '.git/index': File exists
Adeodato
Bazaar's patience diff as GIT_EXTERNAL_DIFF
Denis Bueno
Git clone error
Johannes Schindelin
Re: [PATCH 2/4] Add functions get_relative_cwd() and is_inside_dir()
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
V4L/DVB: gspca - sonixj: Adjust minor values of sensor ov7630. - set the color ga...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Sam Fourman Jr.
Re: Help with Altell PC6700
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
linux-netdev
:
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Colocation donated by:
Syndicate