login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
23
Re: [PATCH 07/11] Memory compaction core
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Christoph Lameter
Subject:
Re: [PATCH 07/11] Memory compaction core
Date: Tuesday, March 23, 2010 - 10:56 am
On Tue, 23 Mar 2010, Mel Gorman wrote:
quoted text
> diff --git a/include/linux/swap.h b/include/linux/swap.h > index 1f59d93..cf8bba7 100644 > --- a/include/linux/swap.h > +++ b/include/linux/swap.h > @@ -238,6 +239,11 @@ static inline void lru_cache_add_active_file(struct page *page) > __lru_cache_add(page, LRU_ACTIVE_FILE); > } > > +/* LRU Isolation modes. */ > +#define ISOLATE_INACTIVE 0 /* Isolate inactive pages. */ > +#define ISOLATE_ACTIVE 1 /* Isolate active pages. */ > +#define ISOLATE_BOTH 2 /* Isolate both active and inactive pages. */ > + > /* linux/mm/vmscan.c */ > extern unsigned long try_to_free_pages(struct zonelist *zonelist, int order, > gfp_t gfp_mask, nodemask_t *mask); > diff --git a/mm/vmscan.c b/mm/vmscan.c > index 79c8098..ef89600 100644 > --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -839,11 +839,6 @@ keep: > return nr_reclaimed; > } > > -/* LRU Isolation modes. */ > -#define ISOLATE_INACTIVE 0 /* Isolate inactive pages. */ > -#define ISOLATE_ACTIVE 1 /* Isolate active pages. */ > -#define ISOLATE_BOTH 2 /* Isolate both active and inactive pages. */ > - > /* > * Attempt to remove the specified page from its LRU. Only take this page > * if it is of the appropriate PageActive status. Pages which are being
Put the above in a separate patch? --
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 07/11] Memory compaction core
, Mel Gorman
, (Tue Mar 23, 5:25 am)
Re: [PATCH 07/11] Memory compaction core
, Christoph Lameter
, (Tue Mar 23, 10:56 am)
Re: [PATCH 07/11] Memory compaction core
, Mel Gorman
, (Tue Mar 23, 11:15 am)
Re: [PATCH 07/11] Memory compaction core
, Christoph Lameter
, (Tue Mar 23, 11:33 am)
Re: [PATCH 07/11] Memory compaction core
, Mel Gorman
, (Tue Mar 23, 11:58 am)
Re: [PATCH 07/11] Memory compaction core
, Christoph Lameter
, (Tue Mar 23, 12:20 pm)
Re: [PATCH 07/11] Memory compaction core
, KAMEZAWA Hiroyuki
, (Tue Mar 23, 6:03 pm)
Re: [PATCH 07/11] Memory compaction core
, Minchan Kim
, (Tue Mar 23, 6:47 pm)
Re: [PATCH 07/11] Memory compaction core
, KAMEZAWA Hiroyuki
, (Tue Mar 23, 6:53 pm)
Re: [PATCH 07/11] Memory compaction core
, Minchan Kim
, (Tue Mar 23, 7:10 pm)
Re: [PATCH 07/11] Memory compaction core
, Mel Gorman
, (Wed Mar 24, 3:57 am)
Re: [PATCH 07/11] Memory compaction core
, Andrew Morton
, (Wed Mar 24, 1:33 pm)
Re: [PATCH 07/11] Memory compaction core
, Jonathan Corbet
, (Wed Mar 24, 1:59 pm)
Re: [PATCH 07/11] Memory compaction core
, Andrew Morton
, (Wed Mar 24, 2:14 pm)
Re: [PATCH 07/11] Memory compaction core
, Andrea Arcangeli
, (Wed Mar 24, 2:19 pm)
Re: [PATCH 07/11] Memory compaction core
, Christoph Lameter
, (Wed Mar 24, 2:19 pm)
Re: [PATCH 07/11] Memory compaction core
, Jonathan Corbet
, (Wed Mar 24, 2:28 pm)
Re: [PATCH 07/11] Memory compaction core
, Andrea Arcangeli
, (Wed Mar 24, 2:47 pm)
Re: [PATCH 07/11] Memory compaction core
, Jonathan Corbet
, (Wed Mar 24, 2:54 pm)
Re: [PATCH 07/11] Memory compaction core
, Andrea Arcangeli
, (Wed Mar 24, 2:57 pm)
Re: [PATCH 07/11] Memory compaction core
, Andrea Arcangeli
, (Wed Mar 24, 3:06 pm)
Re: [PATCH 07/11] Memory compaction core
, Mel Gorman
, (Thu Mar 25, 2:13 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
Borislav Petkov
2.6.23-rc1: no setup signature found...
David Miller
Re: 'global' rq->clock
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Peter Kjellerstedt
RE: [PATCH] send-email: do not check for editor until needed
Laflen, Brandon (GE, Research)
RE: fatal: Unable to find remote helper for 'http'
Remi Vanicat
Re: [PATCH] Adding menu for Emacs git.el
Sam Song
Fwd: [OT] Re: Git via a proxy server?
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
Krzysztof Oledzki
Re: Error: an inet prefix is expected rather than "0/0".
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB (13368): af9015: support for Sveon STV20 Tuner USB DVB-T HDTV
Linux Kernel Mailing List
ixgbe: Fix - Do not allow Rx FC on 82598 at 1G due to errata
Linux Kernel Mailing List
checkpatch: add check for too short Kconfig descriptions
Linux Kernel Mailing List
Bluetooth: Fallback eSCO to SCO on error 0x1a (Unsupported Remote Feature)
Linux Kernel Mailing List
intel_idle: native hardware cpuidle driver for latest Intel processors
openbsd-misc
:
Private Equity Investment Exchange of Vietnam
Cong cu huu hieu: Cong giao tiep dau tu chuyen nghiep nhat Vietnam | Private Equit...
mark reardon
pfctl not loading rules - Must enable table loading for optimizations
KURS ENGLESKOG JEZIKA NA 10 CD-a
AUDIO-VIZUELNA METODA UCENJA ENGLESKOG JEZIKA na 10 CD-a
Nick Guenther
Re: This is what Linus Torvalds calls openBSD crowd
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Colocation donated by:
Syndicate