From: Mel Gorman <mel@csn.ul.ie>
To: Alexander Beregalov <a.beregalov@gmail.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Christoph Lameter <cl@linux-foundation.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [Bug #10961] 2.6.26-rc: nfsd hangs for a few sec
Date: Thu, 3 Jul 2008 18:39:03 +0100 [thread overview]
Message-ID: <20080703173903.GH18055@csn.ul.ie> (raw)
In-Reply-To: <a4423d670807010704g6cc8513fxfdb258e0b1f873ac@mail.gmail.com>
On (01/07/08 18:04), Alexander Beregalov didst pronounce:
> 2008/7/1 Mel Gorman <mel@csn.ul.ie>:
> > I still have no useful reaction to this. According to Christoph Hellwig,
> > this lockup has been appearing since lockdep was introduced but for some
> > reason is easier to trigger now. It bisected to the two-zonelist changes
> > but it still looks like a red herring as I cannot see how reclaim has
> > changed significantly as a result of that patch.
>
> Do you wait reaction from me? Can I help?
> As I mentioned, the lockup does not happen when lockdep is disabled.
>
Sorry for the slow response Alexander.
This bug is likely fixed by commit 494de90098784b8e2797598cefdd34188884ec2e
which will be visible publicly later when maintenance on master.kernel.org
finishes. I included it below for convenience.
The lockdep warning still exists but it is a false positive and should be
relatively hard to trigger again. It would be nice to have confirmation
of this.
commit 494de90098784b8e2797598cefdd34188884ec2e
Author: Mel Gorman <mel@csn.ul.ie>
Date: Thu Jul 3 05:27:51 2008 +0100
Do not overwrite nr_zones on !NUMA when initialising zlcache_ptr
The non-NUMA case of build_zonelist_cache() would initialize the
zlcache_ptr for both node_zonelists[] to NULL.
Which is problematic, since non-NUMA only has a single node_zonelists[]
entry, and trying to zero the non-existent second one just overwrote the
nr_zones field instead.
As kswapd uses this value to determine what reclaim work is necessary,
the result is that kswapd never reclaims. This causes processes to
stall frequently in low-memory situations as they always direct reclaim.
This patch initialises zlcache_ptr correctly.
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Tested-by: Dan Williams <dan.j.williams@intel.com>
[ Simplified patch a bit ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
mm/page_alloc.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 2f55295..f32fae3 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2328,7 +2328,6 @@ static void build_zonelists(pg_data_t *pgdat)
static void build_zonelist_cache(pg_data_t *pgdat)
{
pgdat->node_zonelists[0].zlcache_ptr = NULL;
- pgdat->node_zonelists[1].zlcache_ptr = NULL;
}
#endif /* CONFIG_NUMA */
next prev parent reply other threads:[~2008-07-03 17:39 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-29 18:15 2.6.26-rc8: Reported regressions from 2.6.25 Rafael J. Wysocki
2008-06-29 18:15 ` [Bug #10493] mips BCM47XX compile error Rafael J. Wysocki
2008-06-29 20:13 ` Adrian Bunk
2008-06-29 18:18 ` [Bug #10726] x86-64 NODES_SHIFT compile failure Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10786] parisc: 64bit SMP does not boot on J5600 Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160 Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10730] build issue #503 for v2.6.26-rc2-433-gf26a398 : undefined reference to `request_firmware' Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10714] powerpc: Badness seen on 2.6.26-rc2 with lockdep enabled Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10862] forcedeth: lockdep warning on ethtool -s Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10815] 2.6.26-rc4: RIP find_pid_ns+0x6b/0xa0 Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10860] total system freeze at boot with 2.6.26-rc Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10868] Oops on loading ipaq module since 2.6.26, prevents use of device Rafael J. Wysocki
2008-06-30 13:10 ` Oliver Neukum
2008-06-29 18:18 ` [Bug #10741] bug in `tty: BKL pushdown'? Rafael J. Wysocki
2008-07-03 21:15 ` Johannes Weiner
2008-06-29 18:18 ` [Bug #10843] Display artifacts on XOrg logout with PAT kernel and VESA framebuffer Rafael J. Wysocki
2008-06-29 19:55 ` Frans Pop
2008-06-29 18:18 ` [Bug #10861] 2.6.26-rc4-git2 - long pause during boot Rafael J. Wysocki
2008-06-30 16:01 ` Chris Clayton
2008-06-30 16:13 ` Kay Sievers
2008-06-29 18:18 ` [Bug #10821] rt25xx: lock dependency warning, association failure, and kmalloc corruption Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10725] USB Mass storage mount fails: Write protect on Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10865] Oops trying to mount an ntfs partition on thinkpad Rafael J. Wysocki
2008-07-02 18:00 ` Alex Romosan
2008-06-29 18:18 ` [Bug #10724] ACPI: EC: GPE storm detected, disabling EC GPE Rafael J. Wysocki
2008-06-29 20:30 ` Justin Mattock
2008-06-29 18:18 ` [Bug #10927] Dell laptops: reboot instead of resume Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10955] v2.6.26-rc7: BUG task_struct: Poison overwritten Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #11007] [BISECT] Boot failure on ia64 Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10954] hda_intel: azx_get_response timeout, switching to polling mode: last cmd=0x011f000c Rafael J. Wysocki
2008-06-29 20:28 ` Justin Mattock
2008-06-29 21:07 ` Ville Syrjälä
2008-06-29 21:50 ` Justin Mattock
2008-06-29 18:18 ` [Bug #10984] MMC print trace information when resume from suspend Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #11006] 2.6.26-rc6: pcmcia stopped working Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10985] backlight doesn't come on after resume with i915 video Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10958] LMSENSORS: 2.6.26-rc, enabling ACPI Termal Zone support costs sensors Rafael J. Wysocki
2008-06-29 19:49 ` Rene Herman
2008-06-29 18:18 ` [Bug #10961] 2.6.26-rc: nfsd hangs for a few sec Rafael J. Wysocki
2008-06-30 21:01 ` Mel Gorman
2008-07-01 14:04 ` Alexander Beregalov
2008-07-03 17:39 ` Mel Gorman [this message]
2008-07-03 21:36 ` Alexander Beregalov
2008-06-29 18:18 ` [Bug #10965] system hang on closing T60 panel lid when in dual screen mode 2.6.26 regression Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10957] pata_pcmcia with Sandisk Extreme III 8GB Rafael J. Wysocki
2008-07-01 12:28 ` Komuro
2008-06-29 18:18 ` [Bug #10956] v2.6.26-rc7: BUG: unable to handle kernel NULL pointer dereference Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10971] radeonfb : radeon X800 family support (atombios) Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10960] 2.6.26-rc: SPARC: Sun Ultra 10 can not boot Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #11008] after laptop re-dock: usb-storage device no longer detected Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10872] x86_64 boot hang when CONFIG_NUMA=n Rafael J. Wysocki
2008-07-05 20:51 ` Randy Dunlap
2008-06-29 18:18 ` [Bug #10923] System turns off during wake from S3, Wake Regression from 2.6.25 (SMP related) Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10919] [regression] display dimming is slow and laggy - Acer Travelmate 661lci Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #11005] 2.6.26-rc5-git2: snd-emu10k1 does not work Rafael J. Wysocki
2008-06-30 20:37 ` Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #9791] Clock is running too fast^Wslow using acpi_pm clocksource Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10959] stuck tcp connections 2.6.26-rc7 Rafael J. Wysocki
2008-06-29 20:04 ` Ray Lee
2008-06-29 20:27 ` Justin Mattock
2008-06-29 18:18 ` [Bug #10918] 2.6.26-rc5: SLUB debug, lockdep warning Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10906] repeatable slab corruption with LTP msgctl08 Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #11009] No console on Riva TNT since 2.6.26-0.rc4 Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10989] kernel oopses when wiggling the mouse to make it known to hidd Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10962] 2.6.26-rc2 WARNING from usb-serial, and then my gps is dead Rafael J. Wysocki
2008-07-02 11:18 ` 2.6.26-rc8: Reported regressions from 2.6.25 Stefan Becker
-- strict thread matches above, loose matches on Subject: below --
2008-06-22 17:49 2.6.26-rc7-git2: " Rafael J. Wysocki
2008-06-22 17:54 ` [Bug #10961] 2.6.26-rc: nfsd hangs for a few sec Rafael J. Wysocki
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=20080703173903.GH18055@csn.ul.ie \
--to=mel@csn.ul.ie \
--cc=a.beregalov@gmail.com \
--cc=cl@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=torvalds@linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.