GNU Hurd collaboration

2018-11-17 Thread Mateo
Hi, my name is Mateo, I've read  about GNU Hurd project in Savannah and sounds 
really interesting to me, and I would like to collaborate as much as I can.
I am computer science student, mainly doing C, I would like to be part of the 
project to keep learning while helping the project.
I wish I can help someway, kind regards, Mateo.

Re: Enable SMP support

2018-11-17 Thread liberamenso10000
Ok. In any case, I've restarted the project two months ago. 

You can read the docs from here: 
https://gitlab.com/snippets/1756024

El Sábado 17 de noviembre de 2018, Guillem Jover escribió:
> Hi!
> 
> On Wed, 2018-07-04 at 21:14:59 +0200, Almudena Garcia wrote:
> > I'm trying to develop intel_startCPU function, using the function of this
> > file as base code
> > https://github.com/nneonneo/osx-10.9-opensource/blob/master/xnu-2422.1.72/osfmk/i386/mp.c
> 
> Please check the license terms of XNU, because AFAIR they might be
> problematic for merging code based on it into GNU Mach.
> 
> Thanks,
> Guillem
>

-- 
Enviado desde mi Sailfish OS

Re: Enable SMP support

2018-11-17 Thread Guillem Jover
Hi!

On Wed, 2018-07-04 at 21:14:59 +0200, Almudena Garcia wrote:
> I'm trying to develop intel_startCPU function, using the function of this
> file as base code
> https://github.com/nneonneo/osx-10.9-opensource/blob/master/xnu-2422.1.72/osfmk/i386/mp.c

Please check the license terms of XNU, because AFAIR they might be
problematic for merging code based on it into GNU Mach.

Thanks,
Guillem



Re: RFC: [PATCH hurd 3/6] Add file record locking support: libtrivfs_file_record_lock.patch

2018-11-17 Thread Samuel Thibault
Hello,

Triggered by an IRC discussion, I had a look at this old mail still in
my mbox:

Justus Winter, le lun. 08 févr. 2016 15:04:14 +0100, a ecrit:
> Quoting Svante Signell (2016-02-08 14:44:09)
> > Where to find the code setting the underlying node of the null translator 
> > flags
> > to zero?
> 
> It starts with /dev/null having a passive translator record.  If that
> is first accessed, diskfs_S_dir_lookup will start the translator on
> demand.  Somewhere between diskfs_S_dir_lookup, fshelp_fetch_root,
> fshelp_start_translator_long, there is a callback that opens the
> underlying node.

More precisely, it's trivfs_startup which calls fsys_startup to get the
underlying node. It's just passing its flags parameter, which happens to
be 0 in basically all translators, except the term translator in some
case. I don't really know why, except probably potential for spurious
side effects.

Quoting Svante Signell (2016-02-08 12:53:56)
> - I have a working solution, which adds two new structs to struct 
> trivfs_peropen
>   struct rlock_peropen lock_status;
>   struct trivfs_node *tp;
>
> This solution was not accepted

I don't remember the discussion which refused this solution. I guess
your working solution is to implement the record-lock in trivfs
itself? It sort of makes sense to me actually: the data of the
underlying node and the data of the node exposed by the translator
are not really related, I don't see why we should necessarily proxy
the lock. Apparently the only parts which are proxied are file access
permissions and time, i.e. information of the inode itself.

Samuel