failover soon.
Of course some other people don't want panic if free memory remain.
I think it depends on user.
If panic_on_oom is 1, only panic if mempolicy/cpuset is not used.
And if panic_on_oom is 2, panic on all case.
This might be desirable.
Bye.
--
Yasunori Goto
-
To unsubscribe from
. But it would work.
Please apply.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
Documentation/sysctl/vm.txt | 23 +--
mm/oom_kill.c |3 +++
2 files changed, 20 insertions(+), 6 deletions(-)
Index: panic_on_oom2/Documentation/sysctl/vm.txt
On Fri, 13 Apr 2007 14:26:22 +0900 Yasunori Goto [EMAIL PROTECTED] wrote:
Hello.
cmdline_parse_kernelcore() should return the next pointer of boot option
like memparse() doing. If not, it is cause of eternal loop on ia64 box.
This patch is for 2.6.21-rc6-mm1.
Signed-off
.
This patch makes new setting for its request.
This is tested on my ia64 box which has 3 nodes.
Please apply.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
Signed-off-by: Benjamin LaHaise [EMAIL PROTECTED]
---
Documentation/sysctl/vm.txt | 23 +--
mm/oom_kill.c
is this patch? I confirmed this can work well too.
When kernelcore boot option is specified, kernel can't boot up
on ia64. It is cause of eternal loop.
In addition, its code can be common code. This is fix for it.
I tested this patch on my ia64 box.
Signed-off-by: Yasunori Goto [EMAIL
boundaries when freeing pages from the bootmem
allocator.
Anyway, the patch works well.
Bye.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Looks good. :-)
Thanks.
Acked-by: Yasunori Goto [EMAIL PROTECTED]
The boot memory allocator makes assumptions on the alignment of zone
boundaries even though the buddy allocator has no requirements on the
alignment of zones. This may cause boot problems in situations where
ZONE_MOVABLE
and may result in a linker error.
Right. Thanks.
Acked-by: Yasunori Goto [EMAIL PROTECTED]
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
will chase them.
BTW, does -mm code checks more strict than stock kernel? I can't see
these warnings in 2.6.21-rc4.
Bye.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http
Hello.
cmdline_parse_kernelcore() should return the next pointer of boot option
like memparse() doing. If not, it is cause of eternal loop on ia64 box.
This patch is for 2.6.21-rc6-mm1.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
arch/ia64/kernel/efi.c |2 +-
include/linux/mm.h
Hello.
The BUG_ON() check at move_freepages() is wrong.
Its end_page is start_page + MAX_ORDER_NR_PAGES. So, it can be
next zone. BUG_ON() should check end_page - 1.
This is fix of 2.6.21-rc3-mm2 for it.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
mm/page_alloc.c |2 +-
1 file
functions. This is also cause of
warnings. I think this should be registered too.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
mm/page_alloc.c |2 +-
mm/sparse.c |2 +-
scripts/mod/modpost.c | 29 +
3 files changed, 31 insertions(+), 2
Hello.
This is to fix many section mismatches of code related to memory hotplug.
I checked compile with memory hotplug on/off on ia64 and x86-64 box.
This patch is for 2.6.21-rc5-mm4.
Please apply.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
arch/ia64/mm/discontig.c |2
()
and zone_wait_table_init() into white list.
In addition, ia64's .machvec section is function table of some platform
dependent code. It is mixture of .init.text and normal text. These
reference of __init functions are valid too.
This is for 2.6.21-rc5-mm4.
Please apply.
Signed-off-by: Yasunori Goto
?
BTW, have you ever tested this patch? If you don't have any test environment
for memory hotplug code, then I'll check it. :-)
Bye.
--
Yasunori Goto
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http
Yasunori Goto wrote:
Hello Nadia-san.
@@ -118,6 +122,10 @@ struct ipc_namespace {
size_t shm_ctlall;
int shm_ctlmni;
int shm_tot;
+
+#ifdef CONFIG_MEMORY_HOTPLUG
+ struct notifier_block ipc_memory_hotplug;
+#endif
};
I'm
On Tue, 11 Sep 2007 18:37:12 +0900 Yasunori Goto [EMAIL PROTECTED] wrote:
+ if (onlined_pages){
Nit, needs a space there before the '{'.
Ah, Ok. I attached fixed patch in this mail.
The problem as I see it is that when we boot the system we start a
kswapd
On Fri, 14 Sep 2007 11:02:43 +0900 Yasunori Goto [EMAIL PROTECTED] wrote:
/* call arch's memory hotadd */
OK, we're getting into a mess here. This patch fixes
update-n_high_memory-node-state-for-memory-hotadd.patch, but which patch
does update-n_high_memory-node
is correct, this loop can't distinguish between
struct device and struct kset, but both are connected in this list,
right? It may be the cause of this.
Bye.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
confirmed it fixed the problem. :-)
Thanks.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
.
If preallocation of hotadd works on ia64 too, I'm very glad.)
Thanks.
--
Yasunori Goto
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ
On Thu, 6 Dec 2007, Geert Uytterhoeven wrote:
On Thu, 6 Dec 2007, Yasunori Goto wrote:
I'll try Milton's suggestion to pre-allocate the memory early. It seems
that should work as long as nothing else before the hot-plug mem is
added
needs a large chunk.
Hello. Geoff-san
;
}
#endif
Hmm. When sparse_init_one_section() returns error, memmap and
usemap should be free.
Thanks for your fixing.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http
);
return ret;
}
#endif
I guess you think __kfree_section_memmap() is not necessary due to
no implementation. But, it is still available when
CONFIG_SPARSEMEM_VMEMMAP is off. So, it should not be removed.
Bye.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux
Looks good to me.
Thanks.
Acked-by: Yasunori Goto [EMAIL PROTECTED]
On Tue, Nov 27, 2007 at 10:53:45AM -0800, Dave Hansen wrote:
On Tue, 2007-11-27 at 10:26 +0800, WANG Cong wrote:
@@ -414,7 +418,7 @@ int sparse_add_one_section(struct zone *
out:
pgdat_resize_unlock(pgdat
Yasunori Goto wrote:
On Thu, 6 Dec 2007, Geert Uytterhoeven wrote:
On Thu, 6 Dec 2007, Yasunori Goto wrote:
I'll try Milton's suggestion to pre-allocate the memory early. It
seems
that should work as long as nothing else before the hot-plug mem is
added
needs
Looks good to me.
Thanks.
Acked-by: Yasunori Goto [EMAIL PROTECTED]
From: Geoff Levand [EMAIL PROTECTED]
SPARSEMEM_VMEMMAP needs to be a selectable config option to
support building the kernel both with and without sparsemem
vmemmap support. This selection is desirable for platforms
IORESOURCE_BUSY for them to avoid potential overlap mapping
by PCI device.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
arch/ia64/kernel/efi.c |6 ++
mm/memory_hotplug.c|2 +-
2 files changed, 3 insertions(+), 5 deletions(-)
Index: current/arch/ia64/kernel/efi.c
for SLUB but also for others. So, I extracted this from it.
This patch set is for 2.6.23-mm1.
I tested this patch on my ia64 box.
Please apply.
Bye.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
Add description about event notification callback routine to the document.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
Documentation/memory-hotplug.txt | 58 ---
1 file changed, 55 insertions(+), 3 deletions(-)
Index: current/Documentation/memory
returned page is not used again.
- Make CANCEL events for rollingback when error occurs.
- Delete MEM_MAPPING_INVALID notification. It will be not used.
- Fix compile error of (un)register_memory_notifier().
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
drivers/base/memory.c |9
.
Please apply.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
mm/slub.c | 115 ++
1 file changed, 115 insertions(+)
Index: current/mm/slub.c
===
--- current.orig/mm
is very low for it
now.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Thu, 18 Oct 2007 12:25:37 +0900 Yasunori Goto [EMAIL PROTECTED] wrote:
This patch fixes panic due to access NULL pointer
of kmem_cache_node at discard_slab() after memory online.
When memory online is called, kmem_cache_nodes are created for
all SLUBs for new node whose memory
.
*/
- BUG_ON(atomic_read(n-nr_slabs));
+ BUG_ON(atomic_long_read(n-nr_slabs));
s-node[offline_node] = NULL;
kmem_cache_free(kmalloc_caches, n);
Oops, yes. Thanks.
Acked-by: Yasunori Goto [EMAIL PROTECTED]
--
Yasunori Goto
can understand why this bug remains.
If you posted it, could you point it to me?
Or do I misunderstand something?
Thanks.
--
Yasunori Goto
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http
. But, to be honest, I feel there are TOO MANY allocation/free
way for memmap (usemap and so on). If possible, I would like to
unify some of them. I would like to try it.
Bye.
--
Yasunori Goto
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL
of memory-hotplug.
(I searched a data-sheet from intel site.)
http://download.intel.com/design/chipsets/e8500/datashts/30674501.pdf
(6.3.8 IMI Hot-Plug)
So, it depends on how many server uses it, I think.
Thanks.
--
Yasunori Goto
--
To unsubscribe from this list: send the line unsubscribe
on the node.
This is the first user of the callback of memory notifier.
So, the first patch is to change some defects of it.
This patch set is for 2.6.23-rc8-mm2.
I tested this patch on my ia64 box.
Please apply.
Bye.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe
per node structure before the node's
pages are available.
- Fix compile error of (un)register_memory_notifier().
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
drivers/base/memory.c | 10 +++---
include/linux/memory.h | 16
2 files changed, 19 insertions(+), 7
BEFORE pages on the node are available.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
mm/slub.c | 79 ++
1 file changed, 79 insertions(+)
Index: current/mm/slub.c
I'm sorry. There are 2 patches for this fix. Subtitle should be
[Patch 000/002]. :-(
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, 1 Oct 2007, Yasunori Goto wrote:
+#ifdef CONFIG_MEMORY_HOTPLUG
+static void __slab_callback_offline(int nid)
+{
+ struct kmem_cache_node *n;
+ struct kmem_cache *s;
+
+ list_for_each_entry(s, slab_caches, list) {
+ if (s-node[nid
-interleave by firmware config.
From memory-hotplug view, memory-less node is very helpful.
It can define and arrange some halfway conditions of node hot-plug.
I guess that node unpluging code will be simpler by it.
Bye.
--
Yasunori Goto
-
To unsubscribe from this list: send the line
On Tue, 2 Oct 2007, Yasunori Goto wrote:
Do you mean that just nr_slabs should be checked like followings?
I'm not sure this is enough.
:
if (s-node[nid]) {
n = get_node(s, nid);
if (!atomic_read(n-nr_slabs)) {
s-node[nid] = NULL
On Wed, 3 Oct 2007, Yasunori Goto wrote:
That would work. But it would be better to shrink the cache first. The
first 2 slabs on a node may be empty and the shrinking will remove those.
If you do not shrink then the code may falsely assume that there are
objects on the node
. It should run when
the node has memory.)
I would like to merge them like following if you don't mind.
Bye.
---
Fix kswapd doesn't run when memory is added on memory-less-node.
Fix compile error of zone-node when CONFIG_NUMA is off.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
Signed-off-by: Paul
mentioned all of my intention correctly. :-)
Fix kswapd doesn't run when memory is added on memory-less-node.
Fix compile error of zone-node when CONFIG_NUMA is off.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
Signed-off-by: Paul Mundt [EMAIL PROTECTED]
Acked-by: Andy Whitcroft [EMAIL
When a cpu is onlined on memory-less-node box, kernel panics due to
touch NULL pointer of pgdat-kswapd. Current kswapd runs only
nodes which have memory. So, calling of set_cpus_allowed()
is not necessary for memory-less node.
This is fix for it.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED
Oops. This should be
Thanks!
Acked-by: Yasunori Goto [EMAIL PROTECTED]
Hi,
This patch cleans up duplicate includes in
include/linux/memory_hotplug.h
Signed-off-by: Jesper Juhl [EMAIL PROTECTED]
---
diff --git a/include/linux/memory_hotplug.h b/include/linux
a document for memory hotplug to describe How to use and Current
status.
---
Signed-off-by: KAMEZAWA Hiroyuki [EMAIL PROTECTED]
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
Documentation/memory-hotplug.txt | 322 +++
1 files changed, 322 insertions
!
---
This is add a document for memory hotplug to describe How to use and Current
status.
---
Signed-off-by: KAMEZAWA Hiroyuki [EMAIL PROTECTED]
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
Documentation/memory-hotplug.txt | 322 +++
1 files changed, 322 insertions
))) {
/*
* The allocated memory isn't reachable by the device.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org
-by: Yasunori Goto [EMAIL PROTECTED]
---
mm/page_alloc.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: current/mm/page_alloc.c
===
--- current.orig/mm/page_alloc.c2007-08-24 16:03:17.0 +0900
for SLUB but also for others. So, I extracted this from it.
This patch set is for 2.6.23-rc8-mm2.
I tested this patch on my ia64 box.
Please apply.
Bye.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
Add description about event notification callback routine to the document.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
Documentation/memory-hotplug.txt | 56 ---
1 file changed, 53 insertions(+), 3 deletions(-)
Index: current/Documentation/memory
returned page is not used again.
- Make CANCEL events for rollingback when error occurs.
- Delete MEM_MAPPING_INVALID notification. It will be not used.
- Fix compile error of (un)register_memory_notifier().
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
drivers/base/memory.c |9
on the node.
Incidentally, it is freed on memory offline if it becomes not necessary.
This is the first user of the callback of memory notifier, and
requires its rearrange patch set.
This patch set is for 2.6.23-rc8-mm2.
I tested this patch on my ia64 box.
Please apply.
Bye.
--
Yasunori Goto
Make kmem_cache_shrink_node() for callback routine of memory hotplug
notifier. This is just extract a part of kmem_cache_shrink().
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
mm/slub.c | 111 ++
1 file changed, 61 insertions
to
shrink cache, then slab_mem_offline_callback() is called later.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
mm/slub.c | 117 ++
1 file changed, 117 insertions(+)
Index: current/mm/slub.c
Looks good. Some suggestions on improving the wording.
Thanks! I'll fix them.
Bye.
On Fri, 12 Oct 2007, Yasunori Goto wrote:
+MEMORY_GOING_ONLINE
+ This is notified before memory online. If some structures must be
prepared
+ for new memory, it should be done at this event's
On Fri, 12 Oct 2007, Yasunori Goto wrote:
Make kmem_cache_shrink_node() for callback routine of memory hotplug
notifier. This is just extract a part of kmem_cache_shrink().
Could we just call kmem_cache_shrink? It will do the shrink on every node
but memory hotplug is rare?
Yes
On Fri, 12 Oct 2007, Yasunori Goto wrote:
If pages on the new node available, slub can use it before making
new kmem_cache_nodes. So, this callback should be called
BEFORE pages on the node are available.
If its called before pages on the node are available then it must
fallback
On Fri, 12 Oct 2007, Yasunori Goto wrote:
+ down_read(slub_lock);
+ list_for_each_entry(s, slab_caches, list) {
+ local_node = page_to_nid(virt_to_page(s));
+ if (local_node == offline_node)
+ /* This slub
.
---
Signed-off-by: KAMEZAWA Hiroyuki [EMAIL PROTECTED]
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
Documentation/memory-hotplug.txt | 322 +++
1 files changed, 322 insertions(+)
Index: makedocument/Documentation/memory-hotplug.txt
in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
.
Anyway, thank you for your patch. It is very interesting.
Bye.
--
Yasunori Goto ygoto at us.fujitsu.com
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please
occur. Probably, enterprise system will not
allow it. So, I will try disabling fallback for KernNoRclm.
Thanks.
--
Yasunori Goto ygoto at us.fujitsu.com
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http
error of duplicate definition if
memory hotplug option is on.
This patch is to fix it.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
arch/i386/kernel/e820.c |2 +-
arch/i386/kernel/setup.c |2 +-
include/asm-i386/e820.h |2 +-
3 files changed, 3 insertions(+), 3 deletions
.
Please apply.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
arch/i386/mm/discontig.c | 28
arch/i386/mm/init.c | 10 ++
2 files changed, 30 insertions(+), 8 deletions(-)
Index: linux-2.6.20-rc1/arch/i386/mm/init.c
.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
arch/i386/mm/discontig.c | 17 +
arch/i386/mm/init.c |4 +---
2 files changed, 18 insertions(+), 3 deletions(-)
Index: linux-2.6.19/arch/i386/mm/init.c
Hi David-san.
On Sat, 9 Dec 2006, Yasunori Goto wrote:
Hello.
This patch is to fix compile error when config memory hotplug
with numa on i386.
The cause of compile error was missing of arch_add_memory(),
remove_memory(),
and memory_add_physaddr_to_nid() when NUMA config
.
The cause of compile error was missing of arch_add_memory(), remove_memory(),
and memory_add_physaddr_to_nid().
This is for 2.6.19, and I tested no compile error of it.
Please apply.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
arch/i386/mm/discontig.c | 17 +
arch/i386/mm
-off-by: Yasunori Goto [EMAIL PROTECTED]
arch/x86_64/mm/init.c |9 +
1 files changed, 1 insertion(+), 8 deletions(-)
Index: 19-rc5-mm2/arch/x86_64/mm/init.c
===
--- 19-rc5-mm2.orig/arch/x86_64/mm/init.c 2006
.
Probably, user can understand easier than this side effect.
Bye.
--
Yasunori Goto
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http
it.
Thanks.
---
Though the lower_zone_protection was changed to lowmem_reserve_ratio,
the document has been not changed.
The lowmem_reserve_ratio seems quite hard to estimate, but there is
no guidance. This patch is to change document for it.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED
for it.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
---
Documentation/filesystems/proc.txt | 76 +
1 file changed, 61 insertions(+), 15 deletions(-)
Index: current/Documentation/filesystems/proc.txt
) {
flush_tlb_current(mm);
if (atomic_read(mm-mm_users) = 1) {
--
Yasunori Goto
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read
it.
This patch adds IORESOURCE_BUSY to avoid potential overlap mapping
by PCI device.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
Signed-off-by: Badari Pulavarty [EMAIL PROTECTED]
---
arch/ia64/kernel/efi.c |6 ++
kernel/resource.c |2 +-
mm/memory_hotplug.c|2 +-
3 files
. And it should be in init section for many people.
This kind of issue is caused by initialization of pgdat/zone.
I think __nodeinit is enough and desirable.
Bye.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
Thanks. I tested compile with cpu/memory hotplug off/on.
It was OK.
Acked-by: Yasunori Goto [EMAIL PROTECTED]
(This is a resend of the earlier patch, this issue still needs to be
fixed.)
When building with memory hotplug enabled and cpu hotplug disabled, we
end up with the following
functions,
because they are inlined function. So, it depends on caller's
defenition. Is it wrong?
Bye.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org
On Mon, Jun 18, 2007 at 02:49:24PM +0900, Yasunori Goto wrote:
-static inline unsigned long zone_absent_pages_in_node(int nid,
+static inline unsigned long __meminit zone_absent_pages_in_node(int nid,
unsigned long zone_type
(), no panic occurs.
Hmmm.
Bye.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
with 'unsubscribe linux-mm' in
the body to [EMAIL PROTECTED] For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: a href=mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] /a
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
On Fri, Jun 01, 2007 at 02:26:17PM +0900, Yasunori Goto wrote:
I think this issue is fixed by
move-three-functions-that-are-only-needed-for.patch in current -mm tree.
Is it not enough?
That's possible, I hadn't checked -mm. This was simply against current
git. If there's already a fix
simulation exactly?
Memory hot-add code is included in kernel. And, remove(unplug) code
has developed (and hopefully, it will be merged to -mm after
some cleanups, I think.)
I would like to make sure what is necessary.
Thanks.
--
Yasunori Goto
-
To unsubscribe from this list: send the line
must be necessary for test phase 1.
Hmm. I don't know what is necessary for suspend2.
But, some works looks still necessary for each way.
Thanks.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
of zone's wait_table.
This patch is tested on my ia64 box with 2.6.22-rc2-mm1.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
mm/memory_hotplug.c |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: vmemmap/mm/memory_hotplug.c
are relatively small so better avoid playing games and
drop the __meminit tag.
Ok. This is the patch.
---
This is to fix unnecessary __meminit definition.
These are exported for kernel modules.
I compiled on ia64/x86-64 with memory hotplug on/off.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED
. need careful debug...
==other fixes==
[8] round up end_pfn at memmap_init
[9] page isolation ASAP when memory-hotremove case.
[10] fix swapping-in page panic.
--
Yasunori Goto
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED
[EMAIL PROTECTED]
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
include/linux/mmzone.h |8 +
include/linux/page_isolation.h | 52 +++
mm/Kconfig |7 +
mm/page_alloc.c| 187 +
4 files changed
Isolate all freed pages (means in buddy_list) in the range.
See page_buddy() and free_one_page() function if unsure.
Signed-Off-By: KAMEZAWA Hiroyuki [EMAIL PROTECTED]
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
include/linux/page_isolation.h |1
mm/page_alloc.c| 45
Show #of Movable pages and vmstat.
Signed-Off-By: KAMEZAWA Hiroyuki [EMAIL PROTECTED]
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
arch/ia64/mm/init.c|2 ++
drivers/base/node.c|4
fs/proc/proc_misc.c|4
include/linux/kernel.h |2 ++
include/linux/swap.h
This patch add function drain_all_pages(void) to drain all
pages on per-cpu-freelist.
Page isolation will catch them in free_one_page.
Signed-Off-By: KAMEZAWA Hiroyuki [EMAIL PROTECTED]
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
include/linux/page_isolation.h |1 +
mm/page_alloc.c
need more work on loop algorythm
and policy.
Signed-Off-By: KAMEZAWA Hiroyuki [EMAIL PROTECTED]
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
include/linux/memory_hotplug.h |1
mm/Kconfig |8 +
mm/memory_hotplug.c| 221
Call offline pages from remove_memory().
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
Signed-Off-By: KAMEZAWA Hiroyuki [EMAIL PROTECTED]
arch/ia64/mm/init.c | 13 -
1 files changed, 12 insertions(+), 1 deletion(-)
Index: current_test/arch/ia64/mm/init.c
There is a race condition between swap-in and unmap_and_move().
When swap-in occur, page_mapped might be not set yet.
So, unmap_and_move() gives up at once, and tries later.
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
mm/migrate.c |5 +
1 files changed, 5 insertions(+)
Index
destination page of migration. This was cause of eternal loop in
offline_pages().
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
include/linux/page_isolation.h | 14
mm/Kconfig |1
mm/migrate.c | 46 +++--
3
. but we can't do it.
So, just delaying freeing anon_vma.
Signed-Off-By: KAMEZAWA Hiroyuki [EMAIL PROTECTED]
Signed-off-by: Yasunori Goto [EMAIL PROTECTED]
include/linux/migrate.h|2 ++
include/linux/page_isolation.h | 14 ++
include/linux/rmap.h | 22
1 - 100 of 218 matches
Mail list logo