Re: patch to trim page table cache

Linus Torvalds (torvalds@transmeta.com)
Fri, 17 Jul 1998 18:49:30 -0700 (PDT)


On Fri, 17 Jul 1998, Bill Hawes wrote:
>
> The patch also corrects an apparent kernel locking problem in
> arch/i386/kernel/process.c. The SMP version of sys_idle() doesn't get
> the kernel lock before calling check_pgt_cache(), but since the pgt
> quicklists don't have spinlock protection, the kernel lock is necessary
> for SMP safety. I've moved the kernel lock upwards to cover it.

The page table caches should be completely per-CPU, and thus don't need
any locking. At least that's tthe way it's _meant_ to be,

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html