login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
23
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Minchan Kim
Subject:
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
Date: Tuesday, November 23, 2010 - 4:49 pm
On Tue, Nov 23, 2010 at 6:50 PM, Mel Gorman <mel@csn.ul.ie> wrote:
quoted text
> On Mon, Nov 22, 2010 at 02:21:09PM -0800, Andrew Morton wrote: >> On Sun, 21 Nov 2010 23:30:24 +0900 >> Minchan Kim <minchan.kim@gmail.com> wrote: >> >> > Now zap_pte_range alwayas promotes pages which are pte_young && >> > !VM_SequentialReadHint(vma). But in case of calling MADV_DONTNEED, >> > it's unnecessary since the page wouldn't use any more. >> > >> > If the page is sharred by other processes and it's real working set >> >> This patch doesn't actually do anything. It passes variable `promote' >> all the way down to unmap_vmas(), but unmap_vmas() doesn't use that new >> variable. >> >> Have a comment fixlet: >> >> --- a/mm/memory.c~mm-prevent-promotion-of-page-in-madvise_dontneed-fix >> +++ a/mm/memory.c >> @@ -1075,7 +1075,7 @@ static unsigned long unmap_page_range(st >> * @end_addr: virtual address at which to end unmapping >> * @nr_accounted: Place number of unmapped pages in vm-accountable vma's here >> * @details: details of nonlinear truncation or shared cache invalidation >> - * @promote: whether pages inclued vma would be promoted or not >> + * @promote: whether pages included in the vma should be promoted or not >> * >> * Returns the end address of the unmapping (restart addr if interrupted). >> * >> _ >> >> Also, I'd suggest that we avoid introducing the term "promote". > > Promote also has special meaning for huge pages. Demoting or promoting a > page refers to changing its size. The same applies to the other patch - > s/demote/deactive/ s/promote/activate/ . Currently this is no confusion > within the VM but when Andrea's THP patches are merged, it'll become an > issue.
Thanks for the information.
quoted text
> > -- > Mel Gorman > Part-time Phd Student Linux Technology Center > University of Limerick IBM Dublin Software Lab >
-- Kind regards, Minchan Kim --
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 1/2] deactive invalidated pages
, Minchan Kim
, (Sun Nov 21, 7:30 am)
[RFC 2/2] Prevent promotion of page in madvise_dontneed
, Minchan Kim
, (Sun Nov 21, 7:30 am)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Minchan Kim
, (Sun Nov 21, 7:38 am)
Re: [RFC 1/2] deactive invalidated pages
, Ben Gamari
, (Sun Nov 21, 8:21 am)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Ben Gamari
, (Sun Nov 21, 9:34 am)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Minchan Kim
, (Sun Nov 21, 5:31 pm)
Re: [RFC 1/2] deactive invalidated pages
, Rik van Riel
, (Sun Nov 21, 6:17 pm)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Mon Nov 22, 3:14 pm)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Andrew Morton
, (Mon Nov 22, 3:21 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Mon Nov 22, 9:52 pm)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Minchan Kim
, (Mon Nov 22, 9:57 pm)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Mon Nov 22, 10:01 pm)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Mon Nov 22, 10:22 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Mon Nov 22, 10:23 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Mon Nov 22, 10:45 pm)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Mon Nov 22, 10:48 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Mon Nov 22, 11:05 pm)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Tue Nov 23, 12:15 am)
Re: [RFC 1/2] deactive invalidated pages
, KOSAKI Motohiro
, (Tue Nov 23, 12:16 am)
Re: [RFC 1/2] deactive invalidated pages
, KOSAKI Motohiro
, (Tue Nov 23, 12:16 am)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 12:40 am)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Tue Nov 23, 12:42 am)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 12:44 am)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Tue Nov 23, 12:53 am)
Re: [RFC 1/2] deactive invalidated pages
, KOSAKI Motohiro
, (Tue Nov 23, 1:01 am)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 1:02 am)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 1:44 am)
Re: [RFC 1/2] deactive invalidated pages
, KOSAKI Motohiro
, (Tue Nov 23, 2:02 am)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 2:05 am)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 2:07 am)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Tue Nov 23, 2:28 am)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Tue Nov 23, 2:38 am)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Tue Nov 23, 2:43 am)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Mel Gorman
, (Tue Nov 23, 2:50 am)
Re: [RFC 1/2] deactive invalidated pages
, Ben Gamari
, (Tue Nov 23, 6:48 am)
[RFC PATCH] fadvise support in rsync
, Ben Gamari
, (Tue Nov 23, 7:49 am)
[PATCH 1/3] Add fadvise interface wrapper
, Ben Gamari
, (Tue Nov 23, 7:49 am)
[PATCH 2/3] Inform kernel of FADV_DONTNEED hint in sender
, Ben Gamari
, (Tue Nov 23, 7:49 am)
[PATCH 3/3] Inform kernel of FADV_DONTNEED hint in receiver
, Ben Gamari
, (Tue Nov 23, 7:49 am)
Re: [RFC 1/2] deactive invalidated pages
, Ben Gamari
, (Tue Nov 23, 7:55 am)
Re: [RFC 1/2] deactive invalidated pages
, Ben Gamari
, (Tue Nov 23, 7:57 am)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Tue Nov 23, 7:58 am)
Re: [RFC PATCH] fadvise support in rsync
, Pádraig Brady
, (Tue Nov 23, 8:35 am)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Tue Nov 23, 1:35 pm)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Tue Nov 23, 3:10 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 4:24 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 4:32 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 4:45 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 4:48 pm)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Minchan Kim
, (Tue Nov 23, 4:49 pm)
Re: [RFC 1/2] deactive invalidated pages
, KOSAKI Motohiro
, (Tue Nov 23, 5:13 pm)
Re: [RFC PATCH] fadvise support in rsync
, KOSAKI Motohiro
, (Tue Nov 23, 5:17 pm)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Wed Nov 24, 3:02 am)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Wed Nov 24, 11:01 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Andi Kleen
Re: - romsignature-checksum-cleanup-2.patch removed from -mm tree
Stefano Stabellini
Re: [PATCH 09/22] xen: Find an unbound irq number in reverse order (high to low).
git
:
Junio C Hamano
Re: Teach "git checkout" to use git-show-ref
Christian Jaeger
Re: Problem with Git.pm bidi_pipe methods
Linus Torvalds
[PATCH 1/7] Make unpack_trees_options bit flags actual bitfields
Jon Smirl
stgit: managing signed-off-by lines
Junio C Hamano
GIT 1.4.3-rc2
git-commits-head
:
Linux Kernel Mailing List
MIPS: Bonito64: Make Loongson independent from Bonito64 code.
Linux Kernel Mailing List
iwlwifi: initialize spinlock before use
Linux Kernel Mailing List
i2c-i801: Add Intel Cougar Point device IDs
Linux Kernel Mailing List
drm/i915: Add information on pinning and fencing to the i915 list debug.
Linux Kernel Mailing List
cirrusfb: GD5434 (aka SD64) support fixed
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Richard Cochran
Re: [PATCH v3 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Sathya Perla
[PATCH net-next-2.6] be2net: add multiple RX queue support
Changli Gao
Re: [PATCH 3/3] ifb: move tq from ifb_private
freebsd-current
:
Boris Samorodov
Re: twa + dump = sbwait
韓家標 Bill Hacker
Re: ZFS honesty
Bjoern A. Zeeb
Re: Can not boot 7.0-BETA3 with IPSEC
rmgls
man usb2_core(4)
Sam Leffler
Re: Lots of "ath0: bad series0 hwrate 0x1b" in 8.0-BETA2
Colocation donated by:
Syndicate