login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
May
»
27
Re: [PATCH 5/5] extend KSM refcounts to the anon_vma root
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Mel Gorman
Subject:
Re: [PATCH 5/5] extend KSM refcounts to the anon_vma root
Date: Thursday, May 27, 2010 - 10:50 am
On Wed, May 26, 2010 at 03:41:24PM -0400, Rik van Riel wrote:
quoted text
> Subject: extend KSM refcounts to the anon_vma root > > KSM reference counts can cause an anon_vma to exist after the processe > it belongs to have already exited. Because the anon_vma lock now lives > in the root anon_vma, we need to ensure that the root anon_vma stays > around until after all the "child" anon_vmas have been freed. > > The obvious way to do this is to have a "child" anon_vma take a > reference to the root in anon_vma_fork. When the anon_vma is freed > at munmap or process exit, we drop the refcount in anon_vma_unlink > and possibly free the root anon_vma. > > The KSM anon_vma reference count function also needs to be modified > to deal with the possibility of freeing 2 levels of anon_vma. The > easiest way to do this is to break out the KSM magic and make it > generic. > > When compiling without CONFIG_KSM, this code is compiled out. > > Signed-off-by: Rik van Riel <riel@redhat.com>
Acked-by: Mel Gorman <mel@csn.ul.ie> -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab --
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 -v3 0/5] always lock the root anon_vma
, Rik van Riel
, (Wed May 26, 12:38 pm)
[PATCH 3/5] track the root (oldest) anon_vma
, Rik van Riel
, (Wed May 26, 12:40 pm)
[PATCH 4/5] always lock the root (oldest) anon_vma
, Rik van Riel
, (Wed May 26, 12:40 pm)
[PATCH 5/5] extend KSM refcounts to the anon_vma root
, Rik van Riel
, (Wed May 26, 12:41 pm)
Re: [PATCH 3/5] track the root (oldest) anon_vma
, Larry Woodman
, (Wed May 26, 1:34 pm)
Re: [PATCH 4/5] always lock the root (oldest) anon_vma
, Larry Woodman
, (Wed May 26, 1:36 pm)
Re: [PATCH 5/5] extend KSM refcounts to the anon_vma root
, Larry Woodman
, (Wed May 26, 1:47 pm)
Re: [PATCH 4/5] always lock the root (oldest) anon_vma
, KAMEZAWA Hiroyuki
, (Wed May 26, 5:57 pm)
Re: [PATCH 3/5] track the root (oldest) anon_vma
, Minchan Kim
, (Thu May 27, 6:48 am)
Re: [PATCH 4/5] always lock the root (oldest) anon_vma
, Minchan Kim
, (Thu May 27, 6:55 am)
Re: [PATCH 5/5] extend KSM refcounts to the anon_vma root
, Minchan Kim
, (Thu May 27, 7:02 am)
Re: [PATCH 5/5] extend KSM refcounts to the anon_vma root
, Rik van Riel
, (Thu May 27, 7:09 am)
Re: [PATCH 5/5] extend KSM refcounts to the anon_vma root
, Minchan Kim
, (Thu May 27, 7:31 am)
Re: [PATCH 4/5] always lock the root (oldest) anon_vma
, Mel Gorman
, (Thu May 27, 10:48 am)
Re: [PATCH 5/5] extend KSM refcounts to the anon_vma root
, Mel Gorman
, (Thu May 27, 10:50 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Kay Sievers
Re: char/tpm: tpm_infineon no longer loaded for HP 2510p laptop
Eric W. Biederman
[PATCH 8/8] sysfs: user namespaces: fix bug with clone(CLONE_NEWUSER) with fairsched
S K
Re: cpufreq doesn't seem to work in Intel Q9300
Bart Van Assche
Re: Is gcc thread-unsafe?
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
git
:
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH] git-mv: Keep moved index entries inact
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.
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
Jeff Kirsher
[net-2.6 PATCH 2/5] e1000e: increase swflag acquisition timeout for ICHx/PCH
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
MIPS: Cavium: Remove unused watchdog code.
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
Linux Kernel Mailing List
sm501: add power control callback
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
daniele.pilenga
snmpd hangs on 4.1 looking up hrSWRunTable
Colocation donated by:
Syndicate