login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
6
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: KAMEZAWA Hiroyuki
Subject:
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
Date: Monday, April 5, 2010 - 11:48 pm
On Fri, 2 Apr 2010 09:30:58 -0500 Matt Mackall <mpm@selenic.com> wrote:
quoted text
> On Fri, Apr 02, 2010 at 09:11:29AM +0900, KAMEZAWA Hiroyuki wrote: > > > int ret = -ESRCH; > ... > > + pm.len = PM_ENTRY_BYTES * (PAGEMAP_WALK_SIZE >> PAGE_SHIFT); > > + pm.buffer = kmalloc(pm.len, GFP_TEMPORARY); > > + if (!pm.buffer) > > goto out_mm; > ... > > out_mm: > > mmput(mm); > > Looks like this gets the wrong return code? >
I'm sorry. And thank you for pointing out. I confirmed merged one has fixed code. Regards, -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:
[PATCH] proc: pagemap: Hold mmap_sem during page walk
, San Mehat
, (Wed Mar 31, 10:23 am)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, Linus Torvalds
, (Wed Mar 31, 10:54 am)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, Matt Mackall
, (Wed Mar 31, 2:40 pm)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, Linus Torvalds
, (Wed Mar 31, 6:33 pm)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, KOSAKI Motohiro
, (Wed Mar 31, 7:10 pm)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, Matt Mackall
, (Wed Mar 31, 8:20 pm)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, Linus Torvalds
, (Wed Mar 31, 9:27 pm)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, KOSAKI Motohiro
, (Wed Mar 31, 10:54 pm)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, KAMEZAWA Hiroyuki
, (Wed Mar 31, 10:55 pm)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, KOSAKI Motohiro
, (Wed Mar 31, 11:05 pm)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, KAMEZAWA Hiroyuki
, (Wed Mar 31, 11:09 pm)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, KAMEZAWA Hiroyuki
, (Wed Mar 31, 11:34 pm)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, Matt Mackall
, (Thu Apr 1, 12:09 am)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, KOSAKI Motohiro
, (Thu Apr 1, 12:21 am)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, Linus Torvalds
, (Thu Apr 1, 8:10 am)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, KAMEZAWA Hiroyuki
, (Thu Apr 1, 5:11 pm)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, Matt Mackall
, (Fri Apr 2, 7:30 am)
Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
, KAMEZAWA Hiroyuki
, (Mon Apr 5, 11:48 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 041/196] kobject: add kobject_init_and_add function
Lukas Hejtmanek
Re: Another libata error related to OCZ SSD
Greg Kroah-Hartman
[PATCH 023/196] MCP_UCB1200: Convert from class_device to device
Florian Fainelli
Re: System clock runs too fast after 2.6.27 -> 2.6.28.1 upgrade
Christoph Lameter
[patch 1/4] mmu_notifier: Core code
git
:
Johannes Schindelin
Re: [PATCH 1/2] Add strbuf_initf()
John Bito
[EGIT] Push to GitHub caused corruption
Jakub Narebski
Re: [PATCH 0/2] gitweb: patch view
Junio C Hamano
Re: [PATCH] When a remote is added but not fetched, tell the user.
Andy Parkins
Re: [RFC] Submodules in GIT
git-commits-head
:
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Linux Kernel Mailing List
V4L/DVB (11086): au0828: rename macro for currently non-function VBI support
Linux Kernel Mailing List
ceph: client types
Linux Kernel Mailing List
ceph: on-wire types
Linux Kernel Mailing List
crypto: chainiv - Use kcrypto_wq instead of keventd_wq
linux-netdev
:
Andrew Morton
Re: [Bugme-new] [Bug 14969] New: b44: WOL does not work in suspended state
Giuseppe CAVALLARO
Re: [PATCH 03/13] stmmac: add the new Header file for stmmac platform data
Taku Izumi
[PATCH 3/3] ixgbe: add registers etc. printout code just before resetting adapters
Eric Dumazet
rps: some comments
Thomas Gleixner
Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
openbsd-misc
:
Stephan Andreas
problems with login after xlock in OpenBSD release 4.7
pmc
Make A Change. Alcoholism and Drug Addiction Treatment
ropers
Re: what exactly is enc0?
Fuad NAHDI
Re: What does your environment look like?
Matthew Szudzik
Typo on OpenBSD 4.4 CD Set
Colocation donated by:
Syndicate