login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
July
»
10
Re: [-mm PATCH 4/8] Memory controller memory accounting (v2)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Balbir Singh
Subject:
Re: [-mm PATCH 4/8] Memory controller memory accounting (v2)
Date: Tuesday, July 10, 2007 - 8:42 am
YAMAMOTO Takashi wrote:
quoted text
>> On 7/10/07, YAMAMOTO Takashi <yamamoto@valinux.co.jp> wrote: >>> hi, >>> >>>> diff -puN mm/memory.c~mem-control-accounting mm/memory.c >>>> --- linux-2.6.22-rc6/mm/memory.c~mem-control-accounting 2007-07-05 13:45:18.000000000 -0700 >>>> +++ linux-2.6.22-rc6-balbir/mm/memory.c 2007-07-05 13:45:18.000000000 -0700 >>>> @@ -1731,6 +1736,9 @@ gotten: >>>> cow_user_page(new_page, old_page, address, vma); >>>> } >>>> >>>> + if (mem_container_charge(new_page, mm)) >>>> + goto oom; >>>> + >>>> /* >>>> * Re-check the pte - we dropped the lock >>>> */ >>> it seems that the page will be leaked on error. >> You mean meta_page right? > > no. i meant 'new_page'. > > YAMAMOTO Takashi
Yes, I see. Thanks for clarifying. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL -
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:
[-mm PATCH 0/8] Memory controller introduction (v2)
, Balbir Singh
, (Thu Jul 5, 10:20 pm)
[-mm PATCH 1/8] Memory controller resource counters (v2)
, Balbir Singh
, (Thu Jul 5, 10:20 pm)
[-mm PATCH 2/8] Memory controller containers setup (v2)
, Balbir Singh
, (Thu Jul 5, 10:21 pm)
[-mm PATCH 3/8] Memory controller accounting setup (v2)
, Balbir Singh
, (Thu Jul 5, 10:21 pm)
[-mm PATCH 4/8] Memory controller memory accounting (v2)
, Balbir Singh
, (Thu Jul 5, 10:21 pm)
[-mm PATCH 5/8] Memory controller task migration (v2)
, Balbir Singh
, (Thu Jul 5, 10:21 pm)
[-mm PATCH 6/8] Memory controller add per container LRU an ...
, Balbir Singh
, (Thu Jul 5, 10:22 pm)
[-mm PATCH 7/8] Memory controller OOM handling (v2)
, Balbir Singh
, (Thu Jul 5, 10:22 pm)
[-mm PATCH 8/8] Add switch to control what type of pages t ...
, Balbir Singh
, (Thu Jul 5, 10:22 pm)
Re: [-mm PATCH 0/8] Memory controller introduction (v2)
, Balbir Singh
, (Thu Jul 5, 10:55 pm)
Re: [-mm PATCH 6/8] Memory controller add per container LR ...
, Balbir Singh
, (Fri Jul 6, 12:05 am)
Re: [-mm PATCH 0/8] Memory controller introduction (v2)
, Balbir Singh
, (Fri Jul 6, 12:09 am)
Re: [-mm PATCH 1/8] Memory controller resource counters (v2)
, Dave Hansen
, (Fri Jul 6, 10:24 am)
Re: [-mm PATCH 2/8] Memory controller containers setup (v2)
, Dave Hansen
, (Fri Jul 6, 10:30 am)
Re: [-mm PATCH 1/8] Memory controller resource counters (v2)
, Balbir Singh
, (Fri Jul 6, 2:03 pm)
Re: [-mm PATCH 2/8] Memory controller containers setup (v2)
, Balbir Singh
, (Fri Jul 6, 2:07 pm)
Re: [-mm PATCH 1/8] Memory controller resource counters (v2)
, Dave Hansen
, (Fri Jul 6, 2:10 pm)
Re: [-mm PATCH 1/8] Memory controller resource counters (v2)
, Balbir Singh
, (Fri Jul 6, 2:24 pm)
Re: [-mm PATCH 1/8] Memory controller resource counters (v2)
, Pavel Emelianov
, (Mon Jul 9, 12:16 am)
Re: [-mm PATCH 1/8] Memory controller resource counters (v2)
, Dave Hansen
, (Mon Jul 9, 12:56 pm)
Re: [-mm PATCH 4/8] Memory controller memory accounting (v2)
, YAMAMOTO Takashi
, (Tue Jul 10, 12:26 am)
Re: [-mm PATCH 4/8] Memory controller memory accounting (v2)
, Balbir Singh
, (Tue Jul 10, 1:41 am)
Re: [-mm PATCH 6/8] Memory controller add per container LR ...
, YAMAMOTO Takashi
, (Tue Jul 10, 1:41 am)
Re: [-mm PATCH 4/8] Memory controller memory accounting (v2)
, YAMAMOTO Takashi
, (Tue Jul 10, 1:44 am)
Re: [-mm PATCH 6/8] Memory controller add per container LR ...
, Balbir Singh
, (Tue Jul 10, 8:38 am)
Re: [-mm PATCH 4/8] Memory controller memory accounting (v2)
, Balbir Singh
, (Tue Jul 10, 8:42 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Eric Sandeen
Re: [PATCH] xfs: do not pass unused params to xfs_flush_pages
Alexandre Oliva
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Mariusz Kozlowski
Re: And now for something _totally_ different: Linux v2.6.22-rc5
Andi Kleen
Re: x86: 4kstacks default
Andi Kleen
Re: [Xen-devel] Re: [PATCH 00 of 36] x86/paravirt: groundwork for 64-bit Xen support
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Nicolas Pitre
Re: About git and the use of SHA-1
Alex Riesen
Re: git exclude patterns for directory
git-commits-head
:
Linux Kernel Mailing List
sh: Fix compile error by operands(mov.l) in sh3/entry.S
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
tmpfs: depend on shmem
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
Staging: et131x: prune all the debug code
linux-netdev
:
Andi Kleen
Re: RFC: Nagle latency tuning
Herbert Xu
Re: Oops in tun: bisected to Limit amount of queued packets per device
gregkh
Patch "IPv6: keep route for tentative address" has been added to the 2.6.34-stable...
Paul Gortmaker
[PATCH net-next 09/16] tipc: Relocate trivial link status functions to header file
Russell King
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Andres Salazar
About priorities in /etc/resolv.conf
Rob Shepherd
x86 hardware for router system
Tonnerre LOMBARD
Re: bge0: watchdog timeout
Damien Miller
Re: Patching a SSH 'Weakness'
P. Souza
Re: RouterBOARD RB600A support
Colocation donated by:
Syndicate