Source-Changes archive

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

Re: CVS commit: src/sys/compat/linux

On Sun, Oct 26, 2008 at 04:38:22PM +0000, Christos Zoulas wrote:

> Module Name:  src
> Committed By: christos
> Date:         Sun Oct 26 16:38:22 UTC 2008
> Added Files:
>       src/sys/compat/linux/arch/i386: linux_support.S
> Log Message:
> futex support fixes from FreeBSD via cube+pengo.

- it breaks if a deferred pmap switch is pending
- it will also break if a kernel preemption occurs
- no reason for it to be compat_linux specific

I think a better way would be to add a generic ucasptr() in copy.S and build
the other operations in compat_linux code on top of that. If we do process
shared primitives in libpthread (RT extension) we will also need it. I have
initial code for this.


Home | Main Index | Thread Index | Old Index