CVS commit: src/sys/rump/librump/rumpkern

2023-10-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Oct 15 11:11:38 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: emul.c lwproc.c Log Message: rump: Sprinkle sys/syncobj.h here too. To generate a diff of this commit: cvs rdiff -u -r1.200 -r1.201

CVS commit: src/sys/rump/librump/rumpkern

2023-10-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Oct 15 11:11:38 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: emul.c lwproc.c Log Message: rump: Sprinkle sys/syncobj.h here too. To generate a diff of this commit: cvs rdiff -u -r1.200 -r1.201

CVS commit: src/sys/rump/librump/rumpkern

2023-10-13 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Oct 13 18:23:54 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: sleepq.c Log Message: Rump: sleepq_remove(): don't unlock the sleepq. Spotted by hannken@. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/sys/rump/librump/rumpkern

2023-10-13 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Oct 13 18:23:54 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: sleepq.c Log Message: Rump: sleepq_remove(): don't unlock the sleepq. Spotted by hannken@. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/sys/rump/librump/rumpkern

2023-10-04 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Oct 4 21:56:16 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: threads.c Log Message: rump now needs lwp_need_userret() To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/sys/rump/librump/rumpkern

2023-10-04 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Oct 4 21:56:16 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: threads.c Log Message: rump now needs lwp_need_userret() To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/sys/rump/librump/rumpkern

2023-08-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 5 11:51:48 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: Revert "rump: Set mp_online = true and start threads _after_ cold = 0." This breaks some tests, e.g. dev/scsipi/t_cd:noisyeject,

CVS commit: src/sys/rump/librump/rumpkern

2023-08-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 5 11:51:48 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: Revert "rump: Set mp_online = true and start threads _after_ cold = 0." This breaks some tests, e.g. dev/scsipi/t_cd:noisyeject,

CVS commit: src/sys/rump/librump/rumpkern

2023-08-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 5 08:05:58 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: rump: Set mp_online = true and start threads _after_ cold = 0. Otherwise we may have threads running while cold, which is a

CVS commit: src/sys/rump/librump/rumpkern

2023-08-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 5 08:05:58 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: rump: Set mp_online = true and start threads _after_ cold = 0. Otherwise we may have threads running while cold, which is a

CVS commit: src/sys/rump/librump/rumpkern

2023-07-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 16 23:12:17 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: locks.c Log Message: rump: Fix comment to reflect l_private -> l_sched.info. Comment was misspelled `l->private', hence didn't come up in grep. To

CVS commit: src/sys/rump/librump/rumpkern

2023-07-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 16 23:12:17 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: locks.c Log Message: rump: Fix comment to reflect l_private -> l_sched.info. Comment was misspelled `l->private', hence didn't come up in grep. To

CVS commit: src/sys/rump/librump/rumpkern

2023-06-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jun 23 21:09:45 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: klock.c Log Message: rump: KASSERT(x && y) -> KASSERT(x); KASSERT(y) Add some KASSERTMSG while here. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/rump/librump/rumpkern

2023-06-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jun 23 21:09:45 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: klock.c Log Message: rump: KASSERT(x && y) -> KASSERT(x); KASSERT(y) Add some KASSERTMSG while here. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/rump/librump/rumpkern

2023-04-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 22 13:53:44 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: rumpkern: Provide stub pnbuf_cache weak alias. Needed only by sys_module.c handle_modctl_load, which won't work if there's no

CVS commit: src/sys/rump/librump/rumpkern

2023-04-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 22 13:53:44 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: rumpkern: Provide stub pnbuf_cache weak alias. Needed only by sys_module.c handle_modctl_load, which won't work if there's no

CVS commit: src/sys/rump/librump/rumpkern

2023-04-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 22 13:53:37 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: vm.c Log Message: rumpkern: Provide stub uvm_vnodeops weak alias. Needed for UVM_OBJ_IS_VNODE, but not for anything else in rumpkern without rumpvfs.

CVS commit: src/sys/rump/librump/rumpkern

2023-04-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 22 13:53:37 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: vm.c Log Message: rumpkern: Provide stub uvm_vnodeops weak alias. Needed for UVM_OBJ_IS_VNODE, but not for anything else in rumpkern without rumpvfs.

CVS commit: src/sys/rump/librump/rumpkern

2023-04-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 22 13:53:30 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: rumpkern: Provide fs_filtops weak alias. We should introduce a link set for sys_kfilters, but this works around the problem for

CVS commit: src/sys/rump/librump/rumpkern

2023-04-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 22 13:53:30 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: rumpkern: Provide fs_filtops weak alias. We should introduce a link set for sys_kfilters, but this works around the problem for

CVS commit: src/sys/rump/librump/rumpkern

2023-02-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Feb 22 21:44:45 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: lwproc.c Log Message: rump: Nix membar_enter/exit after/before RUMPUSER_LWP_CREATE/DESTROY. These make no sense and are obviously not needed for any

CVS commit: src/sys/rump/librump/rumpkern

2023-02-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Feb 22 21:44:45 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: lwproc.c Log Message: rump: Nix membar_enter/exit after/before RUMPUSER_LWP_CREATE/DESTROY. These make no sense and are obviously not needed for any

CVS commit: src/sys/rump/librump/rumpkern

2023-02-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Feb 22 21:44:34 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: lwproc.c Log Message: rumpkern/lwproc.c: Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/sys/rump/librump/rumpkern

2023-02-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Feb 22 21:44:34 UTC 2023 Modified Files: src/sys/rump/librump/rumpkern: lwproc.c Log Message: rumpkern/lwproc.c: Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/sys/rump/librump/rumpkern

2022-11-02 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Wed Nov 2 09:01:42 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: lwproc.c Log Message: rump: don't touch p_nlwps without holding p_lock There was a race condition on p_nlwps. Heavy thread switching could cause a

CVS commit: src/sys/rump/librump/rumpkern

2022-11-02 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Wed Nov 2 09:01:42 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: lwproc.c Log Message: rump: don't touch p_nlwps without holding p_lock There was a race condition on p_nlwps. Heavy thread switching could cause a

CVS commit: src/sys/rump/librump/rumpkern/arch/generic

2022-08-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 21 22:28:26 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern/arch/generic: rump_generic_pmap.c Log Message: rump: Define pmap_resident_count, pmap_wired_count conditionally. These definitions will not be used by

CVS commit: src/sys/rump/librump/rumpkern/arch/generic

2022-08-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 21 22:28:26 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern/arch/generic: rump_generic_pmap.c Log Message: rump: Define pmap_resident_count, pmap_wired_count conditionally. These definitions will not be used by

CVS commit: src/sys/rump/librump/rumpkern/arch/generic

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 16:55:14 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern/arch/generic: rump_generic_pmap.c Log Message: Add stubs for pmap_resident_count, pmap_wired_count. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/rump/librump/rumpkern/arch/generic

2022-08-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Aug 21 16:55:14 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern/arch/generic: rump_generic_pmap.c Log Message: Add stubs for pmap_resident_count, pmap_wired_count. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/rump/librump/rumpkern/arch/x86

2022-08-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 21 12:08:12 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern/arch/x86: rump_x86_pmap.c Log Message: rump/x86: Add stubs for pmap_resident_count, pmap_wired_count. These are no longer static inlines, now that

CVS commit: src/sys/rump/librump/rumpkern/arch/x86

2022-08-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 21 12:08:12 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern/arch/x86: rump_x86_pmap.c Log Message: rump/x86: Add stubs for pmap_resident_count, pmap_wired_count. These are no longer static inlines, now that

CVS commit: src/sys/rump/librump/rumpkern

2022-08-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 21 10:18:20 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: vm.c Log Message: rumpkern: Abusing struct pmap internals now requires extra effort. (as it should) To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/rump/librump/rumpkern

2022-08-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 21 10:18:20 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: vm.c Log Message: rumpkern: Abusing struct pmap internals now requires extra effort. (as it should) To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/rump/librump/rumpkern/arch/x86

2022-08-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 21 10:18:11 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern/arch/x86: rump_x86_cpu.c Log Message: rump/x86: Need x86/cpufunc.h for declaration of wbinvd. To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/sys/rump/librump/rumpkern/arch/x86

2022-08-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 21 10:18:11 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern/arch/x86: rump_x86_cpu.c Log Message: rump/x86: Need x86/cpufunc.h for declaration of wbinvd. To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/sys/rump/librump/rumpkern

2022-06-30 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Jun 30 07:47:07 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: sleepq.c Log Message: Fix rump build failure after sleepq.h:r1.35. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/sys/rump/librump/rumpkern

2022-06-30 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Jun 30 07:47:07 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: sleepq.c Log Message: Fix rump build failure after sleepq.h:r1.35. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/sys/rump/librump/rumpkern

2022-04-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 9 23:45:23 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: sleepq.c Log Message: rumpkern/sleepq: Convert membar_exit/store to atomic_store_release. To generate a diff of this commit: cvs rdiff -u -r1.21

CVS commit: src/sys/rump/librump/rumpkern

2022-04-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 9 23:45:23 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: sleepq.c Log Message: rumpkern/sleepq: Convert membar_exit/store to atomic_store_release. To generate a diff of this commit: cvs rdiff -u -r1.21

CVS commit: src/sys/rump/librump/rumpkern

2022-04-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 9 23:45:14 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: scheduler.c Log Message: rumpkern/scheduler: Use membar_release. ...but add an XXX comment asking for clarity on what it pairs with. To generate a

CVS commit: src/sys/rump/librump/rumpkern

2022-04-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 9 23:45:14 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: scheduler.c Log Message: rumpkern/scheduler: Use membar_release. ...but add an XXX comment asking for clarity on what it pairs with. To generate a

CVS commit: src/sys/rump/librump/rumpkern

2022-03-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 28 20:49:52 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: Makefile.rumpkern Log Message: include the extensions secmodel To generate a diff of this commit: cvs rdiff -u -r1.187 -r1.188

CVS commit: src/sys/rump/librump/rumpkern

2022-03-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 28 20:49:52 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: Makefile.rumpkern Log Message: include the extensions secmodel To generate a diff of this commit: cvs rdiff -u -r1.187 -r1.188

CVS commit: src/sys/rump/librump/rumpkern

2022-03-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 28 20:49:32 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: no need to include suser; it gets autoloaded as a module. To generate a diff of this commit: cvs rdiff -u -r1.354 -r1.355

CVS commit: src/sys/rump/librump/rumpkern

2022-03-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 28 20:49:32 UTC 2022 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: no need to include suser; it gets autoloaded as a module. To generate a diff of this commit: cvs rdiff -u -r1.354 -r1.355

CVS commit: src/sys/rump/librump/rumpkern

2019-10-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Oct 15 18:36:38 UTC 2019 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: Add a function cast for enosys To generate a diff of this commit: cvs rdiff -u -r1.334 -r1.335

CVS commit: src/sys/rump/librump/rumpkern

2019-10-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Oct 15 18:36:38 UTC 2019 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: Add a function cast for enosys To generate a diff of this commit: cvs rdiff -u -r1.334 -r1.335

CVS commit: src/sys/rump/librump/rumpkern

2019-10-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 9 01:43:35 UTC 2019 Modified Files: src/sys/rump/librump/rumpkern: rump_syscalls.c Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/sys/rump/librump/rumpkern/rump_syscalls.c

CVS commit: src/sys/rump/librump/rumpkern

2019-10-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 9 01:43:35 UTC 2019 Modified Files: src/sys/rump/librump/rumpkern: rump_syscalls.c Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/sys/rump/librump/rumpkern/rump_syscalls.c

CVS commit: src/sys/rump/librump/rumpkern

2019-09-26 Thread Christoph Badura
Module Name:src Committed By: bad Date: Thu Sep 26 17:52:51 UTC 2019 Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: Provide a weak alias for vnode_to_path to be used unless librumpvfs is present. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/rump/librump/rumpkern

2019-09-26 Thread Christoph Badura
Module Name:src Committed By: bad Date: Thu Sep 26 17:52:51 UTC 2019 Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: Provide a weak alias for vnode_to_path to be used unless librumpvfs is present. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/rump/librump/rumpkern

2019-06-02 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jun 2 19:41:51 UTC 2019 Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: Apply a patch from hannken@ which adds a weak alias for rump_getcwd_common() allowing -lrump to be used without -lrumpvfs. This is an

Re: CVS commit: src/sys/rump/librump/rumpkern

2017-07-25 Thread Paul Goyette
pullup to 8.0? On Tue, 25 Jul 2017, Ryota Ozaki wrote: Module Name:src Committed By: ozaki-r Date: Tue Jul 25 05:01:25 UTC 2017 Modified Files: src/sys/rump/librump/rumpkern: Makefile.rumpkern Log Message: Add localcount to rump kernels To generate a diff of this

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-11-22 Thread Nick Hudson
On Sunday 21 November 2010 21:46:43 Antti Kantee wrote: Module Name: src Committed By: pooka Date: Sun Nov 21 21:46:43 UTC 2010 Modified Files: src/sys/rump/librump/rumpkern: Makefile.rumpkern Added Files: src/sys/rump/librump/rumpkern: atomic_cas_up.c Log Message:

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-11-22 Thread Nick Hudson
On Monday 22 November 2010 10:51:03 Antti Kantee wrote: On Mon Nov 22 2010 at 10:35:00 +, Nick Hudson wrote: On Sunday 21 November 2010 21:46:43 Antti Kantee wrote: Module Name: src Committed By: pooka Date: Sun Nov 21 21:46:43 UTC 2010 Modified Files:

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-23 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: pooka Date: Wed Jun 23 08:36:03 UTC 2010 Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: As normal, fix breakage from untested commits by rmind. Well, when I tried ./build.sh rumptest, it gave me this: ---

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-23 Thread Antti Kantee
On Wed Jun 23 2010 at 12:39:17 +0100, Mindaugas Rasiukevicius wrote: Well, when I tried ./build.sh rumptest, it gave me this: --- dependall-dev --- WARNING: pseudo-root is an experimental feature /home/netbsd/src/sys/rump/dev/lib/libaudio/AUDIO.ioconf:8: audiobus*: unknown device

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-16 Thread Alistair Crooks
On Tue, Jun 15, 2010 at 04:40:24PM +1000, matthew green wrote: On Mon, Jun 14, 2010 at 09:40:37AM -0600, M. Warner Losh wrote: On i386, that's true. amd64 expands to '0', as does sun3. This makes the first one true. The second one, i386 expands to '1', so the second one would be

re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-15 Thread matthew green
On Mon, Jun 14, 2010 at 09:40:37AM -0600, M. Warner Losh wrote: On i386, that's true. amd64 expands to '0', as does sun3. This makes the first one true. The second one, i386 expands to '1', so the second one would be false. Arguably we shouhld fix our gcc to only define __i386__,

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-14 Thread David Holland
On Sun, Jun 13, 2010 at 03:17:02PM +, Antti Kantee wrote: Fix previous in emul.c -- only numbers are operands for cpp comparisons. Apparently non-numbers logically produce arch-dependent behaviour. Not at all. C99 6.10.1 #4: [...] After all replacements due to macro expansion and the

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-14 Thread Antti Kantee
On Mon Jun 14 2010 at 07:00:05 +, David Holland wrote: On Sun, Jun 13, 2010 at 03:17:02PM +, Antti Kantee wrote: Fix previous in emul.c -- only numbers are operands for cpp comparisons. Apparently non-numbers logically produce arch-dependent behaviour. Not at all. C99 6.10.1

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-14 Thread Martin Husemann
On Mon, Jun 14, 2010 at 11:34:24AM +0300, Antti Kantee wrote: So, you being the person who attempted to write cpp with sed, what comparison does amd64 == sun3 actually result in? What about i386 == sun3 (the former returned true, the latter didn't). For me both end up as 0==0 and return true

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-14 Thread David Holland
On Mon, Jun 14, 2010 at 11:34:24AM +0300, Antti Kantee wrote: So, you being the person who attempted to write cpp with sed, what comparison does amd64 == sun3 actually result in? What about i386 == sun3 (the former returned true, the latter didn't). What were you compiling on? Whether it

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-14 Thread Antti Kantee
On Mon Jun 14 2010 at 11:13:23 +0200, Martin Husemann wrote: On Mon, Jun 14, 2010 at 11:34:24AM +0300, Antti Kantee wrote: So, you being the person who attempted to write cpp with sed, what comparison does amd64 == sun3 actually result in? What about i386 == sun3 (the former returned true,

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-14 Thread Antti Kantee
On Mon Jun 14 2010 at 09:17:43 +, David Holland wrote: On Mon, Jun 14, 2010 at 11:34:24AM +0300, Antti Kantee wrote: So, you being the person who attempted to write cpp with sed, what comparison does amd64 == sun3 actually result in? What about i386 == sun3 (the former returned

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-14 Thread Martin Husemann
On Mon, Jun 14, 2010 at 12:27:43PM +0300, Antti Kantee wrote: How can you tell what they end up as? I can only see that the line wrapped in the #if is missing from output of cc -E (still on/targetting i386). Well, knowing the standard (as David cited) and checking with cc -dM -E -

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-14 Thread M. Warner Losh
In message: 20100614083424.gc16...@cs.hut.fi Antti Kantee po...@cs.hut.fi writes: : On Mon Jun 14 2010 at 07:00:05 +, David Holland wrote: : On Sun, Jun 13, 2010 at 03:17:02PM +, Antti Kantee wrote: :Fix previous in emul.c -- only numbers are operands for cpp comparisons.

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-14 Thread David Holland
On Mon, Jun 14, 2010 at 09:40:37AM -0600, M. Warner Losh wrote: On i386, that's true. amd64 expands to '0', as does sun3. This makes the first one true. The second one, i386 expands to '1', so the second one would be false. Arguably we shouhld fix our gcc to only define __i386__, not

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-14 Thread M. Warner Losh
In message: 20100615052154.gb16...@netbsd.org David Holland dholland-sourcechan...@netbsd.org writes: : On Mon, Jun 14, 2010 at 09:40:37AM -0600, M. Warner Losh wrote: : On i386, that's true. amd64 expands to '0', as does sun3. This makes : the first one true. The second one,

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-05-20 Thread David Holland
On Tue, May 18, 2010 at 04:29:36PM +, Antti Kantee wrote: It's pretty obvious that in terms of scalability simple workload partitioning and replication into multiple kernels wins hands down over complicated locking or locklessing algorithms which depend on globally atomic state. ...in

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-05-20 Thread Antti Kantee
On Thu May 20 2010 at 02:47:16 +, David Holland wrote: On Tue, May 18, 2010 at 04:29:36PM +, Antti Kantee wrote: It's pretty obvious that in terms of scalability simple workload partitioning and replication into multiple kernels wins hands down over complicated locking or

CVS commit: src/sys/rump/librump/rumpkern

2010-02-09 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Feb 9 16:53:13 UTC 2010 Modified Files: src/sys/rump/librump/rumpkern: rump.c threads.c Log Message: Store l_name for kernel threads. To generate a diff of this commit: cvs rdiff -u -r1.151 -r1.152

CVS commit: src/sys/rump/librump/rumpkern

2010-01-31 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Jan 31 15:12:42 UTC 2010 Modified Files: src/sys/rump/librump/rumpkern: Makefile.rumpkern emul.c Log Message: Include newly-created subr_device.c and remove few special case device accessor copypastes. This makes it possible

CVS commit: src/sys/rump/librump/rumpkern

2010-01-30 Thread Soren Jacobsen
Module Name:src Committed By: snj Date: Sun Jan 31 00:54:22 UTC 2010 Modified Files: src/sys/rump/librump/rumpkern: locks.c Log Message: Some might argue that it is benefi_c_ial to spell words correctly. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38

CVS commit: src/sys/rump/librump/rumpkern

2010-01-27 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Jan 27 20:16:17 UTC 2010 Modified Files: src/sys/rump/librump/rumpkern: threads.c Log Message: ignore pmf threads if RUMP_THREADS == 0 To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/rump/librump/rumpkern

2010-01-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Jan 25 18:37:51 UTC 2010 Modified Files: src/sys/rump/librump/rumpkern: scheduler.c Log Message: Set attached cpus as running, otherwise (evil) state-probing code will not execute properly. To generate a diff of this commit:

CVS commit: src/sys/rump/librump/rumpkern

2010-01-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Jan 15 20:39:46 UTC 2010 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: Accomplish messy stack with slightly less messy code. To generate a diff of this commit: cvs rdiff -u -r1.150 -r1.151

CVS commit: src/sys/rump/librump/rumpkern

2010-01-12 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Jan 13 00:07:40 UTC 2010 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: If RUMP_VERBOSE is set in the env, set boothowto to AB_VERBOSE. To generate a diff of this commit: cvs rdiff -u -r1.148 -r1.149

CVS commit: src/sys/rump/librump/rumpkern

2010-01-11 Thread Arnaud Ysmal
Module Name:src Committed By: stacktic Date: Mon Jan 11 19:19:58 UTC 2010 Modified Files: src/sys/rump/librump/rumpkern: memalloc.c Log Message: Fixed typo. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/rump/librump/rumpkern/memalloc.c Please note

Re: CVS commit: src/sys/rump/librump/rumpkern

2009-11-07 Thread Christoph Egger
David Laight wrote: Module Name: src Committed By: dsl Date: Sat Nov 7 12:08:35 UTC 2009 Modified Files: src/sys/rump/librump/rumpkern: pmap_stub.c Log Message: Fix stub prototype Doh! rump is not build as part of any kernel. Hence gcc didn't catch it. Thanks for

re: CVS commit: src/sys/rump/librump/rumpkern

2009-11-07 Thread matthew green
David Laight wrote: Module Name: src Committed By: dsl Date: Sat Nov 7 12:08:35 UTC 2009 Modified Files: src/sys/rump/librump/rumpkern: pmap_stub.c Log Message: Fix stub prototype Doh! rump is not build as part of