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 Oct 27,  8:17pm, (Andrew Doran) wrote:
-- Subject: 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.

I did not realize we were close to doing process shared primitives in
libpthread. In that case, we can work on providing a generic API for
them. What we are trying to do is to make linux NPTL programs to work,
perhaps in a more kludgy way than desirable.


Home | Main Index | Thread Index | Old Index