* [email protected] ([email protected]) wrote:
> + memset(pgd, 0, USER_PTRS_PER_PGD*sizeof(pgd_t));
> if (PTRS_PER_PMD == 1)
> spin_lock_irqsave(&pgd_lock, flags);
>
> - memcpy((pgd_t *)pgd + USER_PTRS_PER_PGD,
> + clone_pgd_range((pgd_t *)pgd + USER_PTRS_PER_PGD,
> swapper_pg_dir + USER_PTRS_PER_PGD,
> - (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
> -
> + KERNEL_PGD_PTRS);
> if (PTRS_PER_PMD > 1)
> return;
>
> pgd_list_add(pgd);
> spin_unlock_irqrestore(&pgd_lock, flags);
> - memset(pgd, 0, USER_PTRS_PER_PGD*sizeof(pgd_t));
Why memset was never done on PAE?
thanks,
-chris
-
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]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|