Skip to contentSkip to conversation

broken out migration patches

DISCUSSION Ray Bryant 1 participant 1 message Jan 8, 2005 1 message not in the archive Memory management

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1104875977.16305.7.camel@localhost

Ray Bryant

author
#1 lore raw

Dave,

Looks there is some more work to do here to pull out HOTPLUG stuff from the migration patches:

==> grep VM_IMMOVABLE page_migration-2.6.10-mm1-mhp-test7.patch
+ if (vma->vm_flags & VM_IMMOVABLE)
+ if (vma->vm_flags & VM_IMMOVABLE)
+#define VM_IMMOVABLE 0x01000000 /* Don't place in hot removable area */
+ _calc_vm_trans(flags, MAP_IMMOVABLE, VM_IMMOVABLE );
+ tmp->vm_flags &= ~(VM_LOCKED|VM_IMMOVABLE);
[[email protected]:patches/page-migration]

===> grep HOTPLUG page_migration-2.6.10-mm1-mhp-test7.patch +#ifndef _LINUX_MEMHOTPLUG_H
+#define _LINUX_MEMHOTPLUG_H
+#endif /* _LINUX_MEMHOTPLUG_H */
+#ifdef CONFIG_MEMORY_HOTPLUG
+#ifdef CONFIG_MEMORY_HOTPLUG
+#ifdef CONFIG_MEMORY_HOTPLUG
+#ifdef CONFIG_MEMORY_HOTPLUG
@@ -257,6 +257,8 @@ config HOTPLUG_CPU

The #ifdef's don't hurt anything, really, but it indicates that this separation isn't clean yet, right?

Should I carry over the VM_IMMOVABLE stuff in the page_migration patch?

Signature · 14 lines
Best Regards,
Ray
-----------------------------------------------
                  Ray Bryant
512-453-9679 (work)         512-507-7807 (cell)
[email protected]             [email protected]
The box said: "Requires Windows 98 or better",
           so I installed Linux.
-----------------------------------------------
--
To unsubscribe, send a message 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>