NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/38289: a possible problem in x86 pmap_update

>Number:         38289
>Category:       port-i386
>Synopsis:       a possible problem in x86 pmap_update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 24 09:10:00 +0000 2008
>Originator:     YAMAMOTO Takashi <>
>Release:        NetBSD 4.99.57
Architecture: i386
Machine: i386
        x86 pmap_update assumes that it's called on the same cpu on which
        pmap_kenter_pa etc is called.  however,
        - there are code which can sleep before calling pmap_update.
          eg. uvm_km_alloc
        - it isn't safe with (future) in-kernel preemption.
        code inspection.
        do the pmap_update equivalent when switching lwps?


Home | Main Index | Thread Index | Old Index