Index: linux-2.6.15-rc3-mm1/mm/mempolicy.c =================================================================== --- linux-2.6.15-rc3-mm1.orig/mm/mempolicy.c 2005-11-30 08:46:55.000000000 -0800 +++ linux-2.6.15-rc3-mm1/mm/mempolicy.c 2005-11-30 08:47:28.000000000 -0800 @@ -522,13 +522,14 @@ long do_get_mempolicy(int *policy, nodem */ /* Check if we are the only process mapping the page in question */ -static inline int single_mm_mapping(struct mm_struct *mm, +static int single_mm_mapping(struct mm_struct *mm, struct address_space *mapping) { struct vm_area_struct *vma; struct prio_tree_iter iter; int rc = 1; + printk(KERN_ERR "single_mm_mapping: %p %p\n", mm, mapping); spin_lock(&mapping->i_mmap_lock); vma_prio_tree_foreach(vma, &iter, &mapping->i_mmap, 0, ULONG_MAX) if (mm != vma->vm_mm) { @@ -764,14 +765,17 @@ long do_mbind(unsigned long start, unsig len = (len + PAGE_SIZE - 1) & PAGE_MASK; end = start + len; + printk(KERN_ERR "3\n"); if (end < start) return -EINVAL; if (end == start) return 0; + printk(KERN_ERR "4\n"); if (mpol_check_policy(mode, nmask)) return -EINVAL; + printk(KERN_ERR "5\n"); new = mpol_new(mode, nmask); if (IS_ERR(new)) return PTR_ERR(new); @@ -883,6 +887,7 @@ asmlinkage long sys_mbind(unsigned long nodemask_t nodes; int err; + printk(KERN_ERR "sys_mbind\n"); err = get_nodes(&nodes, nmask, maxnode); if (err) return err; Index: linux-2.6.15-rc3-mm1/Makefile =================================================================== --- linux-2.6.15-rc3-mm1.orig/Makefile 2005-11-30 08:46:39.000000000 -0800 +++ linux-2.6.15-rc3-mm1/Makefile 2005-11-30 08:47:35.000000000 -0800 @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 15 -EXTRAVERSION =-rc3-mm1 +EXTRAVERSION =-rc3-mm1-mig NAME=Affluent Albatross # *DOCUMENTATION*