X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fmempolicy.c;h=8778f58880c41c55cab9a2de035e960379b0cfe4;hb=acc696d93dcf993dec123d69d599979e1456ffec;hp=4f71cfd29c6fa4859c151442176434f48aec748d;hpb=d71eecf3b8e893757cc3dec560c96a32ac090890;p=linux-2.6 diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 4f71cfd29c..8778f58880 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -912,7 +912,7 @@ asmlinkage long sys_migrate_pages(pid_t pid, unsigned long maxnode, /* * Check if this process has the right to modify the specified * process. The right exists if the process has administrative - * capabilities, superuser priviledges or the same + * capabilities, superuser privileges or the same * userid as the target process. */ if ((current->euid != task->suid) && (current->euid != task->uid) && @@ -1761,7 +1761,6 @@ static void gather_stats(struct page *page, void *private, int pte_dirty) md->mapcount_max = count; md->node[page_to_nid(page)]++; - cond_resched(); } #ifdef CONFIG_HUGETLB_PAGE