login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
October
»
24
Re: [Devel] Re: [PATCH 06/10] Introduce functions to dump mm
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrey Mirkin
Subject:
Re: [Devel] Re: [PATCH 06/10] Introduce functions to dump mm
Date: Thursday, October 23, 2008 - 9:07 pm
On Thursday 23 October 2008 17:51 Dave Hansen wrote:
quoted text
> On Thu, 2008-10-23 at 12:43 +0400, Andrey Mirkin wrote: > > > > +#ifdef CONFIG_X86 > > > > + if (pmd_huge(*pmd)) { > > > > + eprintk("page_huge\n"); > > > > + goto out_unsupported; > > > > + } > > > > +#endif > > > > > > I take it you know that this breaks with the 1GB (x86_64) and 16GB > > > (ppc) large pages. > > > > > > Since you have the VMA, why not use is_vm_hugetlb_page()? > > > > Right now I'm checking VM_HUGETLB flag on VMAs in dump_one_vma(). > > This checks were added for sanity purpose just to throw out all > > unsupported right now cases. > > I'm telling you that it's no good. Not only should this path never be > hit. But, if it is, you'll crash anyway in some cases. > > It's a bad check. At best it misleads the reader to think that you've > covered your bases.
Agree, I will rework this. Andrey --
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 0/10] OpenVZ kernel based checkpointing/restart (v2)
, Andrey Mirkin
, (Fri Oct 17, 4:11 pm)
[PATCH 01/10] Introduce trivial sys_checkpoint and sys_res ...
, Andrey Mirkin
, (Fri Oct 17, 4:11 pm)
[PATCH 02/10] Make checkpoint/restart functionality modular
, Andrey Mirkin
, (Fri Oct 17, 4:11 pm)
[PATCH 03/10] Introduce context structure needed during ch ...
, Andrey Mirkin
, (Fri Oct 17, 4:11 pm)
[PATCH 04/10] Introduce container dump function
, Andrey Mirkin
, (Fri Oct 17, 4:11 pm)
[PATCH 05/10] Introduce function to dump process
, Andrey Mirkin
, (Fri Oct 17, 4:11 pm)
[PATCH 06/10] Introduce functions to dump mm
, Andrey Mirkin
, (Fri Oct 17, 4:11 pm)
[PATCH 07/10] Introduce function for restarting a container
, Andrey Mirkin
, (Fri Oct 17, 4:11 pm)
[PATCH 08/10] Introduce functions to restart a process
, Andrey Mirkin
, (Fri Oct 17, 4:11 pm)
[PATCH 09/10] Introduce functions to restore mm
, Andrey Mirkin
, (Fri Oct 17, 4:11 pm)
[PATCH 10/10] Add support for multiple processes
, Andrey Mirkin
, (Fri Oct 17, 4:11 pm)
Re: [PATCH 08/10] Introduce functions to restart a process
, Cedric Le Goater
, (Mon Oct 20, 2:23 am)
Re: [PATCH 05/10] Introduce function to dump process
, Louis Rilling
, (Mon Oct 20, 4:02 am)
Re: [PATCH 06/10] Introduce functions to dump mm
, Louis Rilling
, (Mon Oct 20, 5:25 am)
Re: [PATCH 08/10] Introduce functions to restart a process
, Louis Rilling
, (Mon Oct 20, 6:25 am)
Re: [PATCH 02/10] Make checkpoint/restart functionality mo ...
, Dave Hansen
, (Mon Oct 20, 9:51 am)
Re: [PATCH 02/10] Make checkpoint/restart functionality mo ...
, Serge E. Hallyn
, (Mon Oct 20, 9:59 am)
Re: [PATCH 03/10] Introduce context structure needed durin ...
, Dave Hansen
, (Mon Oct 20, 10:02 am)
Re: [PATCH 06/10] Introduce functions to dump mm
, Dave Hansen
, (Mon Oct 20, 10:21 am)
Re: [PATCH 05/10] Introduce function to dump process
, Serge E. Hallyn
, (Mon Oct 20, 10:48 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Andrey Mirkin
, (Wed Oct 22, 1:49 am)
Re: [Devel] Re: [PATCH 06/10] Introduce functions to dump mm
, Andrey Mirkin
, (Wed Oct 22, 1:58 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Louis Rilling
, (Wed Oct 22, 2:25 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Greg Kurz
, (Wed Oct 22, 3:06 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Andrey Mirkin
, (Wed Oct 22, 3:12 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Louis Rilling
, (Wed Oct 22, 3:44 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Louis Rilling
, (Wed Oct 22, 3:46 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Greg Kurz
, (Wed Oct 22, 5:44 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Cedric Le Goater
, (Wed Oct 22, 5:47 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Oren Laadan
, (Wed Oct 22, 8:25 am)
Re: [Devel] Re: [PATCH 06/10] Introduce functions to dump mm
, Andrey Mirkin
, (Thu Oct 23, 1:43 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Andrey Mirkin
, (Thu Oct 23, 1:53 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Andrey Mirkin
, (Thu Oct 23, 2:00 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Andrey Mirkin
, (Thu Oct 23, 2:54 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Andrey Mirkin
, (Thu Oct 23, 3:56 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Dave Hansen
, (Thu Oct 23, 6:49 am)
Re: [Devel] Re: [PATCH 06/10] Introduce functions to dump mm
, Dave Hansen
, (Thu Oct 23, 6:51 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Dave Hansen
, (Thu Oct 23, 6:57 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Andrey Mirkin
, (Thu Oct 23, 8:57 pm)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Andrey Mirkin
, (Thu Oct 23, 9:04 pm)
Re: [Devel] Re: [PATCH 06/10] Introduce functions to dump mm
, Andrey Mirkin
, (Thu Oct 23, 9:07 pm)
Re: [Devel] Re: [PATCH 05/10] Introduce function to dump p ...
, Andrey Mirkin
, (Thu Oct 23, 9:15 pm)
Re: [Devel] Re: [PATCH 05/10] Introduce function to dump p ...
, Andrey Mirkin
, (Thu Oct 23, 9:40 pm)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Oren Laadan
, (Sat Oct 25, 2:10 pm)
Re: [PATCH 10/10] Add support for multiple processes
, Oren Laadan
, (Mon Oct 27, 8:58 am)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Andrey Mirkin
, (Wed Oct 29, 7:52 am)
Re: [Devel] Re: [PATCH 03/10] Introduce context structure ...
, Andrey Mirkin
, (Wed Oct 29, 8:30 am)
Re: [Devel] Re: [PATCH 10/10] Add support for multiple pro ...
, Andrey Mirkin
, (Wed Oct 29, 9:55 pm)
Re: [Devel] Re: [PATCH 08/10] Introduce functions to resta ...
, Oren Laadan
, (Thu Oct 30, 8:59 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Greg Kroah-Hartman
[PATCH 22/36] PM: Make wakeup flags available whenever CONFIG_PM is set
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Rafael J. Wysocki
[Bug #16136] Linux 2.6.34 causes system lockup on Compaq Presario 2200 Laptop
Pekka Enberg
Re: BUG in free_block (tainted)
git
:
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
Johannes Schindelin
Re: Trying to use git-filter-branch to compress history by removing large, obsolet...
Junio C Hamano
Re: git-svnimport
linux-netdev
:
Daniel Schaffrath
Re: tcp bw in 2.6
Frans Pop
[PATCH] ipv4: make default for INET_LRO consistent with help text
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
Patrick McHardy
Re: [PATCH RESEND 1/3] netfilter: xtables: inclusion of xt_condition
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
openbsd-misc
:
Conor
Re: RFID Reader
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Stuart Henderson
Re: SquidGuard problem
Western Union
Online account has been suspended
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
ALSA: snd-usb-caiaq: Do not expose hardware input mode 0 of A4DJ
Linux Kernel Mailing List
V4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Colocation donated by:
Syndicate