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

Re: How could HP help Debian

On Mon, Sep 15, 2003 at 03:45:46AM +0100, Matthew Wilcox wrote:
> [moving to debian-hppa, since that seems to be the best place.  doing my
> best to remove all traces of the original mail since that's decidedly
> private.]
> On Sun, Sep 14, 2003 at 10:30:18PM -0400, Grzegorz B. Prokopski wrote:
> > port "libffi" to HPPA if they want to see LGPL-ed SableVM JVM (and
> > probably also GCJ) working on these arches in near future [*].
> Randolph Chung has libffi working quite well.  He's got copyright papers
> sorted recently, and I believe he's just waiting for a spare couple of
> hours to get it all submitted.
> > PS: [*] And somebody tell me how to do atomic cmp&swap on HPPA - then
> > you have a working SableVM JVM on HPPA in 10 minutes. Seriously.
> You can't.  hppa's only got one atomic instruction -- load-and-zero word.
> If you can use that as a locking primitive, ie lock read and write
> sides, then you're fine.  If you can live with atomic assignment, you're
> also fine.  But if you rely on something like cmpxchg() as a locking
> primitive, you're in trouble.

Emulating them in software with light-weight kernel syscalls. 
Currently being worked on for the express purpose of helping
tausq fix Java :)


Reply to: