Re: CVS commit: src/sys

2014-07-19 Thread Mindaugas Rasiukevicius
Alex, Alexander Nasonov wrote: > Lourival Pereira Vieira Neto wrote: > > Module Name:src > > Committed By: lneto > > Date: Sat Jul 19 17:13:22 UTC 2014 > > > > Modified Files: > > src/sys/modules/lua: lua.c > > src/sys/sys: lua.h > > > > Log Message: > > lua(

Re: CVS commit: src

2014-07-19 Thread Joerg Sonnenberger
On Sat, Jul 19, 2014 at 02:53:22PM +, Roy Marples wrote: > Module Name: src > Committed By: roy > Date: Sat Jul 19 14:53:22 UTC 2014 > > Modified Files: > src/lib/libc/gen: arc4random.c pthread_atfork.3 > src/share/man/man7: signal.7 > > Log Message: > Document that our u

Re: CVS commit: src/sys

2014-07-19 Thread Alexander Nasonov
Lourival Vieira Neto wrote: > ... > Yes, I do. > ... > Yes, I am. > ... > Yes, I have. Good to know. Please document it. Thanks, Alex

Re: CVS commit: src/sys

2014-07-19 Thread Lourival Vieira Neto
On Sat, Jul 19, 2014 at 6:34 PM, Alexander Nasonov wrote: > Lourival Vieira Neto wrote: >> On Sat, Jul 19, 2014 at 5:45 PM, Alexander Nasonov wrote: >> >> > What if GC kicks-in in softintr? >> >> >> >> It will call kmem_intr_free(9). >> > How many times? >> >> It depends on your script. > > Ok, l

Re: CVS commit: src/sys

2014-07-19 Thread Alexander Nasonov
Lourival Vieira Neto wrote: > On Sat, Jul 19, 2014 at 5:45 PM, Alexander Nasonov wrote: > >> > What if GC kicks-in in softintr? > >> > >> It will call kmem_intr_free(9). > > How many times? > > It depends on your script. Ok, let me ask a more general question. Do you mix softintr Lua code and re

Re: CVS commit: src/sys

2014-07-19 Thread Lourival Vieira Neto
On Sat, Jul 19, 2014 at 5:45 PM, Alexander Nasonov wrote: > Lourival Vieira Neto wrote: >> Hi Alexander, >> >> On Sat, Jul 19, 2014 at 4:39 PM, Alexander Nasonov wrote: >> ... >> > What if GC kicks-in in softintr? >> >> It will call kmem_intr_free(9). > How many times? It depends on your script.

Re: CVS commit: src

2014-07-19 Thread Lourival Vieira Neto
Hi Alan, On Sat, Jul 19, 2014 at 5:43 PM, Alan Barrett wrote: > On Sat, 19 Jul 2014, Lourival Pereira Vieira Neto wrote: >> >> lua: updated from 5.1 to 5.3 work3 > > Is this a well-planned and well-tested update, or does it feel "rushed" > to get it done before the netbsd-7 branch? I think this

Re: CVS commit: src/sys

2014-07-19 Thread Alexander Nasonov
Lourival Vieira Neto wrote: > Hi Alexander, > > On Sat, Jul 19, 2014 at 4:39 PM, Alexander Nasonov wrote: > ... > > What if GC kicks-in in softintr? > > It will call kmem_intr_free(9). How many times? > > What if the code tries to > > load a chunk of new code in softintr? > > What if? Have you

Re: CVS commit: src

2014-07-19 Thread Alan Barrett
On Sat, 19 Jul 2014, Lourival Pereira Vieira Neto wrote: lua: updated from 5.1 to 5.3 work3 Is this a well-planned and well-tested update, or does it feel "rushed" to get it done before the netbsd-7 branch? I don't see any recent discussion in public mailing lists. Also, if this doesn't get r

Re: CVS commit: src/sys/modules/lua

2014-07-19 Thread Lourival Vieira Neto
On Sat, Jul 19, 2014 at 4:58 PM, Alexander Nasonov wrote: > Lourival Vieira Neto wrote: >> You can always provide a better hack. > > Clean someone's mess? No, thanks. What mess? > I could import Lua 5.3 and rework the kernel bits but you in a > hurry to import wip version. You still can do that

Re: CVS commit: src

2014-07-19 Thread Marc Balmer
Am 19.07.2014 um 21:54 schrieb Alexander Nasonov : > > That's not how we update 3rd-party code in the tree. We use cvs import > and resolve conflicts afterwards. Oh well.. Having recent Lua is more important than following a procedure that is difficult to follow.

Re: CVS commit: src

2014-07-19 Thread Lourival Vieira Neto
On Sat, Jul 19, 2014 at 4:54 PM, Alexander Nasonov wrote: > Lourival Pereira Vieira Neto wrote: >> Module Name: src >> Committed By: lneto >> Date: Sat Jul 19 18:38:35 UTC 2014 >> >> Modified Files: >> src/distrib/sets/lists/base: ad.arm ad.mips ad.powerpc md.amd64 >> md.s

Re: CVS commit: src/sys

2014-07-19 Thread Lourival Vieira Neto
Hi Alexander, On Sat, Jul 19, 2014 at 4:39 PM, Alexander Nasonov wrote: > Lourival Pereira Vieira Neto wrote: >> Module Name: src >> Committed By: lneto >> Date: Sat Jul 19 17:13:22 UTC 2014 >> >> Modified Files: >> src/sys/modules/lua: lua.c >> src/sys/sys: lua.h >> >> Log M

Re: CVS commit: src/sys/modules/lua

2014-07-19 Thread Alexander Nasonov
Lourival Vieira Neto wrote: > You can always provide a better hack. Clean someone's mess? No, thanks. I could import Lua 5.3 and rework the kernel bits but you in a hurry to import wip version. I don't think you will be satisfied with a pace of my work. Alex

Re: CVS commit: src

2014-07-19 Thread Alexander Nasonov
Lourival Pereira Vieira Neto wrote: > Module Name: src > Committed By: lneto > Date: Sat Jul 19 18:38:35 UTC 2014 > > Modified Files: > src/distrib/sets/lists/base: ad.arm ad.mips ad.powerpc md.amd64 > md.sparc64 mi shl.mi > src/distrib/sets/lists/debug: ad.arm ad.mi

Re: CVS commit: src/sys

2014-07-19 Thread Alexander Nasonov
Lourival Pereira Vieira Neto wrote: > Module Name: src > Committed By: lneto > Date: Sat Jul 19 17:13:22 UTC 2014 > > Modified Files: > src/sys/modules/lua: lua.c > src/sys/sys: lua.h > > Log Message: > lua(4): added support for running Lua scripts in intr context Please rev

Re: CVS commit: src/sys/modules/lua

2014-07-19 Thread Lourival Vieira Neto
Hi Alexander, On Sat, Jul 19, 2014 at 4:15 PM, Alexander Nasonov wrote: > Lourival Pereira Vieira Neto wrote: >> ... >> Index: src/sys/modules/lua/stdlib.h >> diff -u src/sys/modules/lua/stdlib.h:1.1 src/sys/modules/lua/stdlib.h:1.2 >> --- src/sys/modules/lua/stdlib.h:1.1 Wed Oct 16 19:44:57 201

Re: CVS commit: src/external/mit/lua/dist/src

2014-07-19 Thread Lourival Vieira Neto
Hi Alexander, On Sat, Jul 19, 2014 at 4:09 PM, Alexander Nasonov wrote: > Lourival Pereira Vieira Neto wrote: >> Module Name: src >> Committed By: lneto >> Date: Sat Jul 19 17:11:53 UTC 2014 >> >> Modified Files: >> src/external/mit/lua/dist/src: luaconf.h >> >> Log Message: >> lua

Re: CVS commit: src/sys/modules/lua

2014-07-19 Thread Alexander Nasonov
Lourival Pereira Vieira Neto wrote: > ... > Index: src/sys/modules/lua/stdlib.h > diff -u src/sys/modules/lua/stdlib.h:1.1 src/sys/modules/lua/stdlib.h:1.2 > --- src/sys/modules/lua/stdlib.h:1.1 Wed Oct 16 19:44:57 2013 > +++ src/sys/modules/lua/stdlib.h Sat Jul 19 17:10:02 2014 > @@ -1,7 +1,

Re: CVS commit: src/external/mit/lua/dist/src

2014-07-19 Thread Alexander Nasonov
Lourival Pereira Vieira Neto wrote: > Module Name: src > Committed By: lneto > Date: Sat Jul 19 17:11:53 UTC 2014 > > Modified Files: > src/external/mit/lua/dist/src: luaconf.h > > Log Message: > lua(4): preventing division by zero > > * note: we should raise an error instead of r