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 Mon, Oct 27, 2008 at 08:17:33PM +0000, Andrew Doran wrote:

> 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.

Additionally:

- opt_multiprocessor is pointless because it is mandatory on x86
- testing for it breaks compat_linux as a module

Andrew


Home | Main Index | Thread Index | Old Index