All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: broken out migration patches
       [not found] <1104875977.16305.7.camel@localhost>
@ 2005-01-08  0:16 ` Ray Bryant
  0 siblings, 0 replies; only message in thread
From: Ray Bryant @ 2005-01-08  0:16 UTC (permalink / raw)
  To: Dave Hansen; +Cc: lhms, Marcello Tosatti, Hirokazu Takahashi, linux-mm

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);
[raybry@tomahawk.engr.sgi.com: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?

-- 
Best Regards,
Ray
-----------------------------------------------
                   Ray Bryant
512-453-9679 (work)         512-507-7807 (cell)
raybry@sgi.com             raybry@austin.rr.com
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 majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-08  0:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1104875977.16305.7.camel@localhost>
2005-01-08  0:16 ` broken out migration patches Ray Bryant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.