login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
15
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: KAMEZAWA Hiroyuki
Subject:
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
Date: Monday, January 14, 2008 - 7:06 pm
On Tue, 15 Jan 2008 10:02:30 +0900 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:
quoted text
> + > + notify_threshold = (zone->pages_high + > + zone->lowmem_reserve[MAX_NR_ZONES-1]) * 2; > +
Why MAX_NR_ZONES-1 ?
quoted text
> + if (unlikely((prev_free <= notify_threshold) && > + (zone_page_state(zone, NR_FREE_PAGES) > notify_threshold))) > + memory_pressure_notify(zone, 0); > }
How about this == if (unlikely(zone->mem_notify_status && ...) Thanks, -Kame --
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:
[RFC][PATCH 0/5] mem notifications v4
, KOSAKI Motohiro
, (Mon Jan 14, 5:52 pm)
[RFC][PATCH 1/5] introduce poll_wait_exclusive() new API
, KOSAKI Motohiro
, (Mon Jan 14, 5:59 pm)
[RFC][PATCH 2/5] introduce wake_up_locked_nr() new API
, KOSAKI Motohiro
, (Mon Jan 14, 6:00 pm)
[RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Mon Jan 14, 6:01 pm)
[RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Mon Jan 14, 6:02 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Randy Dunlap
, (Mon Jan 14, 6:08 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Mon Jan 14, 6:20 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Mon Jan 14, 6:24 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KAMEZAWA Hiroyuki
, (Mon Jan 14, 7:06 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KAMEZAWA Hiroyuki
, (Mon Jan 14, 7:10 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Mon Jan 14, 7:20 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Rik van Riel
, (Mon Jan 14, 7:56 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KAMEZAWA Hiroyuki
, (Mon Jan 14, 8:00 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Mon Jan 14, 8:08 pm)
Re: [RFC][PATCH 5/5] /proc/zoneinfo enhancement
, Alan Cox
, (Tue Jan 15, 3:44 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Alan Cox
, (Tue Jan 15, 3:46 am)
Re: [RFC][PATCH 5/5] /proc/zoneinfo enhancement
, KOSAKI Motohiro
, (Tue Jan 15, 3:49 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Tue Jan 15, 3:59 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Alan Cox
, (Tue Jan 15, 4:20 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Tue Jan 15, 4:48 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Marcelo Tosatti
, (Tue Jan 15, 5:05 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Alan Cox
, (Tue Jan 15, 6:42 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Alan Cox
, (Tue Jan 15, 6:42 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Pavel Machek
, (Tue Jan 15, 3:16 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Daniel Spång
, (Tue Jan 15, 3:55 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Rik van Riel
, (Tue Jan 15, 3:59 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Daniel Spång
, (Tue Jan 15, 4:39 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Tue Jan 15, 6:48 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Tue Jan 15, 6:57 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Tue Jan 15, 7:43 pm)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, Marcelo Tosatti
, (Tue Jan 15, 9:13 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, Daniel Spång
, (Wed Jan 16, 4:03 am)
Re: [RFC][PATCH 3/5] add /dev/mem_notify device
, KOSAKI Motohiro
, (Wed Jan 16, 8:04 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Wed Jan 16, 8:26 pm)
Re: [RFC][PATCH 4/5] memory_pressure_notify() caller
, KOSAKI Motohiro
, (Fri Jan 18, 3:30 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #11559] 2.6.27-rc6: nohz + s2ram = need to press keys to get progress
Chris Mason
Re: [Bug #11548] kernel BUG at drivers/pci/intel-iommu.c:1373!
Josef 'Jeff' Sipek
[PATCH 23/24] Unionfs: Kconfig and Makefile
Uwe
NOHZ: local_softirq_pending 20
Rafael J. Wysocki
[Bug #11551] Semi-repeatable hard lockup on 2.6.27-rc6
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Frans Pop
'git gc --aggressive' effectively unusable
Stephan Beyer
Re: git sequencer prototype
Johannes Schindelin
Re: [PATCH 2/3] unpack-trees: fix path search bug in verify_absent
Lynn Lin
Re: clearcase migration to git
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
David Miller
Re: [PATCH v5] rfs: Receive Flow Steering
David Miller
Re: [PATCH 2/2] macb: process the RX ring regardless of interrupt status
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
git-commits-head
:
Linux Kernel Mailing List
Bluetooth: Fallback eSCO to SCO on error 0x1a (Unsupported Remote Feature)
Linux Kernel Mailing List
ARM: dma-mapping: remove dmac_clean_range and dmac_inv_range
Linux Kernel Mailing List
x86 boot: only pick up additional EFI memmap if add_efi_memmap flag
Linux Kernel Mailing List
NFSv4: Move error handling out of the delegation generic code
Linux Kernel Mailing List
md: fix some (more) errors with bitmaps on devices larger than 2TB.
openbsd-misc
:
Private Equity Investment Exchange of Vietnam
Cong cu huu hieu: Cong giao tiep dau tu chuyen nghiep nhat Vietnam | Private Equit...
KURS ENGLESKOG JEZIKA NA 10 CD-a
AUDIO-VIZUELNA METODA UCENJA ENGLESKOG JEZIKA na 10 CD-a
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Nick Holland
Re: Upgrade 4.1->4.2->4.3
Siju George
Re: Blocking Teamviewer
Colocation donated by:
Syndicate