Re: CVS commit: src/sys/kern

2011-06-05 Thread Joerg Sonnenberger
On Sat, Jun 04, 2011 at 02:47:53PM +0100, David Laight wrote: IIRC the arm ABI defines standard uses for a lot of the registers, one must be for thread data - so could be used in the kernel for curlwp. Only for newer ARM generations. The old one have no native TLS register. Joerg

Re: CVS commit: src/sys/kern

2011-06-05 Thread Martin Husemann
On Sun, Jun 05, 2011 at 10:15:45AM +0200, Joerg Sonnenberger wrote: Only for newer ARM generations. The old one have no native TLS register. Should we have a userland build option to make use of that? Martin

Re: CVS commit: src/sys/kern

2011-06-05 Thread Joerg Sonnenberger
On Sun, Jun 05, 2011 at 10:42:30AM +0200, Martin Husemann wrote: On Sun, Jun 05, 2011 at 10:15:45AM +0200, Joerg Sonnenberger wrote: Only for newer ARM generations. The old one have no native TLS register. Should we have a userland build option to make use of that? It might be useful, but

Re: CVS commit: src/sys/kern

2011-06-05 Thread David Laight
On Thu, Jun 02, 2011 at 09:21:11PM +0100, David Laight wrote: On Thu, Jun 02, 2011 at 06:54:44PM +, David Laight wrote: Module Name:src Committed By: dsl Date: Thu Jun 2 18:54:44 UTC 2011 Modified Files: src/sys/kern: vfs_syscalls.c Log

Re: CVS commit: src/sys/kern

2011-06-05 Thread Matt Thomas
On Jun 5, 2011, at 9:58 AM, Warner Losh wrote: On Jun 5, 2011, at 2:15 AM, Joerg Sonnenberger wrote: On Sat, Jun 04, 2011 at 02:47:53PM +0100, David Laight wrote: IIRC the arm ABI defines standard uses for a lot of the registers, one must be for thread data - so could be used in the

Re: CVS commit: src/sys/kern

2011-06-05 Thread David Holland
On Thu, Jun 02, 2011 at 09:21:11PM +0100, David Laight wrote: Actually I've thought about this some more. While, on the face of it, removing the 'struct lwp *' parameter to all system calls might seem an optimisation, I suspect that, especially on systems where arguments are passed in