History log of /dragonfly/sys/platform/pc64/x86_64/npx.c (Results 26 – 33 of 33)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 9e6e869e 22-Dec-2011 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Fix floating point save state structure and minor npx issues

* The floating point save structure(s) used by the kernel and possibly
also userland were too large for x86-64 due to a portin

kernel - Fix floating point save state structure and minor npx issues

* The floating point save structure(s) used by the kernel and possibly
also userland were too large for x86-64 due to a porting error where
'long' variables were left intact that should have been turned into
32-bit variables.

No known adverse effect to the too-large structures but we have to get
it right.

* npxexit() was not being called in a kernel thread exit case. Kernel
threads do not use the FP unit so the case was never hit, but fix it
anyway.

* Move a critical section to cover a flags test to handle a very rare
preemptive thread switch issue. Since the preempting thread is a
kernel thread which does not use the FP unit this case was never hit,
but fix it anyway.

show more ...


# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0
# b2b3ffcd 04-Nov-2009 Simon Schubert <corecode@dragonflybsd.org>

rename amd64 architecture to x86_64

The rest of the world seems to call amd64 x86_64. Bite the bullet and
rename all of the architecture files and references. This will
hopefully make pkgsrc build

rename amd64 architecture to x86_64

The rest of the world seems to call amd64 x86_64. Bite the bullet and
rename all of the architecture files and references. This will
hopefully make pkgsrc builds less painful.

Discussed-with: dillon@

show more ...


# c1543a89 04-Nov-2009 Simon Schubert <corecode@dragonflybsd.org>

rename amd64 architecture to x86_64

The rest of the world seems to call amd64 x86_64. Bite the bullet and
rename all of the architecture files and references. This will
hopefully make pkgsrc build

rename amd64 architecture to x86_64

The rest of the world seems to call amd64 x86_64. Bite the bullet and
rename all of the architecture files and references. This will
hopefully make pkgsrc builds less painful.

Discussed-with: dillon@

show more ...


# 6fb07b8b 28-Apr-2011 Sascha Wildner <saw@online.de>

kernel/npx: Fix ambiguous inline assembly.

GNU as converts fld to flds, while clang errors about the missing suffix.

Taken-from: FreeBSD


# 5524f0b4 01-Mar-2011 Sepherosa Ziehau <sephe@dragonflybsd.org>

kernel: Don't store FPU status into the reserved area of fxsave

Since each time before the old sv_ex_sw is accessed, fnstsw() is
always called, it no longer makes any sense to save the temporary
in

kernel: Don't store FPU status into the reserved area of fxsave

Since each time before the old sv_ex_sw is accessed, fnstsw() is
always called, it no longer makes any sense to save the temporary
in the reserved area for fxsave. And more important: saving the
FPU status into fxsave area overwrites saved xmm register value.

show more ...


# b25897b2 23-Oct-2010 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Fix pmap deactivate/reactivation race.

* The LWKT thread switch code clears the cpu mask bit in
proc->p_vmspace->vm_pmap.pm_active, and the switch-in code sets the
mask bit.

This cod

kernel - Fix pmap deactivate/reactivation race.

* The LWKT thread switch code clears the cpu mask bit in
proc->p_vmspace->vm_pmap.pm_active, and the switch-in code sets the
mask bit.

This code has a bug because the switch code ALSO optimizes the loading
of %cr3 to avoid reloading it if it hasn't changed, for example when
switching between two user threads associated with the process,
because the other cpu(s) running similar threads may lose track of
the fact that our cpu also needs an IPI for page invalidations in the
pmap for a short period of time.

Because we don't reload %cr3 in this case, our tlb can become invalid.
This can also occur with vfork() sequences.

* Fix by testing that we are switching to the same vmspace and do not
clear the pm_active bit in that case. Retain the %cr3 optimization.

show more ...


# 684a93c4 20-Dec-2009 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Move mplock to machine-independent C

* Remove the per-platform mplock code and move it all into
machine-independent code: sys/mplock2.h and kern/kern_mplock.c.

* Inline the critical path

kernel - Move mplock to machine-independent C

* Remove the per-platform mplock code and move it all into
machine-independent code: sys/mplock2.h and kern/kern_mplock.c.

* Inline the critical path.

* When a conflict occurs kern_mplock.c will KTR log the file and line
number of both the holder and conflicting acquirer. Set
debug.ktr.giant_enable=-1 to enable conflict logging.

show more ...


12