login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
31
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Wu Fengguang
Subject:
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
Date: Tuesday, March 30, 2010 - 11:03 pm
On Wed, Mar 31, 2010 at 02:00:52PM +0800, KOSAKI Motohiro wrote:
quoted text
> > KOSAKI-san, > > > > On Wed, Mar 31, 2010 at 01:38:12PM +0800, KOSAKI Motohiro wrote: > > > > On Tue, Mar 30, 2010 at 02:08:53PM +0800, KOSAKI Motohiro wrote: > > > > > Hi > > > > > > > > > > > Commit 84b18490d1f1bc7ed5095c929f78bc002eb70f26 introduces a regression. > > > > > > With it, our tmpfs test always oom. The test has a lot of rotated anon > > > > > > pages and cause percent[0] zero. Actually the percent[0] is a very small > > > > > > value, but our calculation round it to zero. The commit makes vmscan > > > > > > completely skip anon pages and cause oops. > > > > > > An option is if percent[x] is zero in get_scan_ratio(), forces it > > > > > > to 1. See below patch. > > > > > > But the offending commit still changes behavior. Without the commit, we scan > > > > > > all pages if priority is zero, below patch doesn't fix this. Don't know if > > > > > > It's required to fix this too. > > > > > > > > > > Can you please post your /proc/meminfo and reproduce program? I'll digg it. > > > > > > > > > > Very unfortunately, this patch isn't acceptable. In past time, vmscan > > > > > had similar logic, but 1% swap-out made lots bug reports. > > > > if 1% is still big, how about below patch? > > > > > > This patch makes a lot of sense than previous. however I think <1% anon ratio > > > shouldn't happen anyway because file lru doesn't have reclaimable pages. > > > <1% seems no good reclaim rate. > > > > > > perhaps I'll take your patch for stable tree. but we need to attack the root > > > cause. iow, I guess we need to fix scan ratio equation itself. > > > > I tend to regard this patch as a general improvement for both > > .33-stable and .34. > > > > I do agree with you that it's desirable to do more test&analyze and > > check further for possibly hidden problems. > > Yeah, I don't want ignore .33-stable too. if I can't find the root cause > in 2-3 days, I'll revert guilty patch anyway.
OK, thank you! --
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:
[PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Mon Mar 29, 10:53 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Mon Mar 29, 11:08 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Mon Mar 29, 11:32 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Mon Mar 29, 11:40 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Mon Mar 29, 11:53 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Tue Mar 30, 12:31 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Tue Mar 30, 1:13 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Minchan Kim
, (Tue Mar 30, 3:17 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Tue Mar 30, 3:25 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Balbir Singh
, (Tue Mar 30, 4:56 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Tue Mar 30, 9:53 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Tue Mar 30, 10:38 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Wu Fengguang
, (Tue Mar 30, 10:41 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Wu Fengguang
, (Tue Mar 30, 10:51 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Tue Mar 30, 10:53 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Tue Mar 30, 11:00 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Wu Fengguang
, (Tue Mar 30, 11:03 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Andrew Morton
, (Thu Apr 1, 3:16 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Thu Apr 1, 11:50 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Fri Apr 2, 2:13 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Fri Apr 2, 2:14 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Fri Apr 2, 2:24 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Wu Fengguang
, (Sat Apr 3, 5:48 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Sun Apr 4, 7:19 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Wu Fengguang
, (Mon Apr 5, 6:22 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Mon Apr 5, 6:25 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Mon Apr 5, 6:27 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Mon Apr 5, 6:36 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Wu Fengguang
, (Mon Apr 5, 6:50 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Mon Apr 5, 7:06 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Wu Fengguang
, (Mon Apr 5, 7:30 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Mon Apr 5, 7:58 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Wu Fengguang
, (Mon Apr 5, 8:31 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Rik van Riel
, (Mon Apr 5, 8:36 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Rik van Riel
, (Mon Apr 5, 8:40 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Wu Fengguang
, (Mon Apr 5, 9:49 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Wu Fengguang
, (Mon Apr 5, 10:03 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Mon Apr 5, 10:09 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Mon Apr 5, 10:36 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Thu Apr 8, 11:51 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Andrew Morton
, (Fri Apr 9, 2:20 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Rik van Riel
, (Fri Apr 9, 2:25 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Sun Apr 11, 6:57 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Mon Apr 12, 6:30 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Rik van Riel
, (Mon Apr 12, 7:42 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Tue Apr 13, 12:55 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Tue Apr 13, 1:55 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, Shaohua Li
, (Tue Apr 13, 6:27 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio
, KOSAKI Motohiro
, (Wed Apr 14, 8:25 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #11409] build issue #564 for v2.6.27-rc4 : undefined reference to `NS8390p_in...
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Andrew Morton
2.6.23-rc6-mm1
Con Kolivas
Re: [PATCH] sched: staircase deadline misc fixes
Jeremy Fitzhardinge
[PATCH 33 of 36] x86_64: ia32entry: replace privileged instructions with pvops
linux-netdev
:
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
Jeff Garzik
Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM
git
:
Junio C Hamano
Re: git-svnimport
Anuj Gakhar
Git Architecture Question
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Gabriel
[PATCH] When a remote is added but not fetched, tell the user.
openbsd-misc
:
Jason Dixon
Re: any web management gui for pf ?
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Marco Peereboom
Re: Singularity OS
linux-kvm
:
Harald Braumann
Windows guest freezes with black screen
Huang Ying
Re: [PATCH] Ignore SRAO MCE if another MCE is being processed
Alex Williamson
Re: [RFC PATCH 5/6] savevm: Migrate RAM based on name/offset
Alexander Graf
[PATCH 23/27] KVM: PPC: PV assembler helpers
Anthony Liguori
Re: [Qemu-devel] [PATCH] Vmchannel PCI device.
Colocation donated by:
Syndicate