From owner-freebsd-hackers Wed Jan 29 08:12:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA07847 for hackers-outgoing; Wed, 29 Jan 1997 08:12:17 -0800 (PST) Received: from bacall.lodgenet.com (bacall.lodgenet.com [205.138.147.242]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA07839 for ; Wed, 29 Jan 1997 08:12:03 -0800 (PST) Received: (from mail@localhost) by bacall.lodgenet.com (8.6.12/8.6.12) id KAA00280; Wed, 29 Jan 1997 10:10:58 -0600 Received: from garbo.lodgenet.com(204.124.123.250) by bacall via smap (V1.3) id sma000272; Wed Jan 29 10:10:55 1997 Received: from jake.lodgenet.com (jake.lodgenet.com [10.0.11.30]) by garbo.lodgenet.com (8.6.12/8.6.9) with ESMTP id KAA22045; Wed, 29 Jan 1997 10:10:21 -0600 Received: from jake.lodgenet.com (localhost [127.0.0.1]) by jake.lodgenet.com (8.8.4/8.6.12) with ESMTP id KAA19636; Wed, 29 Jan 1997 10:11:21 -0600 (CST) Message-Id: <199701291611.KAA19636@jake.lodgenet.com> X-Mailer: exmh version 2.0beta 12/23/96 To: Meir Dukhan cc: Julian Elischer , hackers@FreeBSD.ORG Subject: Re: Sys V IPC In-reply-to: Your message of "Wed, 29 Jan 1997 17:01:00 GMT." <32EF824C.167EB0E7@bis.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 29 Jan 1997 10:11:20 -0600 From: "Eric L. Hernes" Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Meir Dukhan writes: > >That's was not what I wanted to say. First my GENERIC file has the >SYSVSHM, SYSVSEM, SYSVMSG options. and second I work with a kernel that >has, too, these options enabled. > >By saying that they are not sys call, I mean that maybe they are not >implemented as system calls, because ktrace doesn't record them . The system call is shmsys(); shmget and friends are wrapped up into this. It looks like the real syscalls are there too, but aren't used for whatever reason, binary compats maybe, just left undone maybe. at any rate look for shmsys in kdump's output. > >I don't know how ktrace works, maybe it make its jobs by looking at a >table of existing system calls, instead of checking if a call is >actually a system call or a mere function. ktrace uses the syscall slot number. kdump gets the syscall names from /usr/src/sys/kern/syscalls.c, same as the kernel. > >> > >> > - a process can have no more than 8 shared mem segments >> > (how can I change this ?) >> >> compile in a bigger number? > >Where can I specify this number ? options SHMMAXPGS=4096 options "SHMSEG=128" Although as dyson and others have noted, this is mostly an administrative limit. If you're feeling ambitious, you could probably turn them into a sysctl. >Tia > >-- Meir > >ps: cc to mdukhan@bis.co.il, I'm not on hackers@freebsd.org, Thanks to >all in advance. > eric. -- erich@lodgenet.com http://rrnet.com/~erich erich@rrnet.com