lkml.org 
[lkml]   [2000]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] (alpha) kernel thread panics due to stale PTBR settings in 2.3.47
Dave Anderson wrote:
>
> If this is still a work in progress, excuse my interruption, but if
> not,
> the alpha enter_lazy_tlb() should update the kernel task's ptbr with
> the
> oldmm's pgd. Right?

I added enter_lazy_tlb() for i386 [I needed it for the new lazy tlb
flush code], and I added empty functions for all other architectures.

Note that Richard Henderson found another problem with the current alpha
tlb code design:
Richard Henderson wrote on 06 Feb 2000:
> But this leads to a different failing scenario:
>
> CPU0: CPU1:
> switch_mm(A,mmA)
> this implies A->thread.asn
> and mmA->context are valid.
> flush_tlb_other(A)
> this implies mmA->context is 0.
> switch_to(A)
> Now A->thread.asn is out of
> sync with mmA->context.
>
> This will require some thought to avoid scrogging schedule entirely.
>


--
Manfred


-
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.tux.org/lkml/

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