Re: [PATCH] Add NUMA policy support for huge pages.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 15 Nov 2005, Tim Pepper wrote:

> On 11/15/05, Christoph Lameter <[email protected]> wrote:
> > +/* Caculate a node number for interleave */
>       ^^^^^
> Calculate even...

Fix:


Index: linux-2.6.14-mm2/mm/mempolicy.c
===================================================================
--- linux-2.6.14-mm2.orig/mm/mempolicy.c	2005-11-15 14:27:49.000000000 -0800
+++ linux-2.6.14-mm2/mm/mempolicy.c	2005-11-15 14:28:32.000000000 -0800
@@ -1005,7 +1005,7 @@ static unsigned offset_il_node(struct me
 	return nid;
 }
 
-/* Caculate a node number for interleave */
+/* Determine a node number for interleave */
 static inline unsigned interleave_nid(struct mempolicy *pol,
 		 struct vm_area_struct *vma, unsigned long addr, int shift)
 {
-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux