lkml.org 
[lkml]   [1998]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: patch to trim page table cache


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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.065 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site