Re: Problems mapping an vm_object to a process memory space

2009-03-13 Thread Pekka Nikander
Hi Alexej, The actual mapping code is now at http://pastebin.com/m56a949a5 The objects in question are allocated through vm_pager_allocate with OBJT_SWAP. Note that I'm not sure when OBJ_ONEMAPPING clearing actually helps and when not -- I've more sprinkled it around the code in the ho

Fwd: sys/vimage.h and net/opt_inet6 not exist on 7.1 release?

2009-03-13 Thread Jacky Oh
Hi, Im trying to compile sys/netinet/ip_fw_pfil.c as example of KLD firewall module. This file include net/opt_inet6.h and sys/vimage.h but the compiler dont find it. This files seems that was deleted from the source tree. Anyone know something?. Thanks __

sys/vimage.h and net/opt_inet6 not exist on 7.1 release?

2009-03-13 Thread Jacky Oh
Hi, Im trying to compile sys/netinet/ip_fw_pfil.c as example of KLD firewall module. This file include net/opt_inet6.h and sys/vimage.h but the compiler dont find it. This files seems that was deleted from the source tree. Anyone know something?. Thanks ___

Re: Problems mapping an vm_object to a process memory space

2009-03-13 Thread Alexej Sokolov
hi , I had a problem with remapping too. Could I see your code? here is my code, that some times on AMD64 runs wrong : http://pastebin.com/m78da0b37 And now I solved the problem with remapping by using /dev/mem device. It has mmap syscal. And it seems to be working without problem. Alexej < 2009

Bug in tcp wrappers?

2009-03-13 Thread Chris St Denis
I think I've found a bug in libwrap/tcpwrappers. Before filing an actual bug report I want to get some feedback here first. A hosts.allow file with ~1000 ips on a single line (Haven't experimented with other quantities yet), causes network daemons that use libwrap stop accepting incoming netwo

Re: intpm: multiple salves, collision [solved]

2009-03-13 Thread Andriy Gapon
on 13/03/2009 16:29 Andriy Gapon said the following: > > Sorry for the noise, the problem seems to be in misbehavior on part of one of > the > slaves used by the original program. I wrote a minimalistic test program and > ran > it for several different combinations of slaves - the issue only occ

Re: intpm: multiple salves, collision ??

2009-03-13 Thread Andriy Gapon
on 13/03/2009 15:27 Andriy Gapon said the following: > I observe some quite odd behavior with intpm(4). > I have a program that access two slaves at a high rate (no sleeps or > long calculations). The typical pattern of access is: > 1. SMB_WRITEB slave1 reg1 > 2. SMB_READB slave1 reg2 > 3. SMB_READ

intpm: multiple salves, collision ??

2009-03-13 Thread Andriy Gapon
I observe some quite odd behavior with intpm(4). I have a program that access two slaves at a high rate (no sleeps or long calculations). The typical pattern of access is: 1. SMB_WRITEB slave1 reg1 2. SMB_READB slave1 reg2 3. SMB_READB *slave2* reg 4. SMB_READB slave1 reg3 There are many iteratio

Problems mapping an vm_object to a process memory space

2009-03-13 Thread Pekka Nikander
As a part of a research project, I'm trying to build publish/subscribe shared memory semantics where the idea is to first map an vm_object as read/write to a publisher's memory space, and then a COW shadow of that later to the subscriber processes' memory space. I've got to the point where

Re: shmmax tops out at 2G?

2009-03-13 Thread Ivan Voras
Brian A. Seklecki wrote: > Thanks to all; with the r1.114 changes, our staff reports the following: > > "Postgres is able to start with a ~3GB postgresql.conf(5) $shared_buffer > on 8-CURRENT/amd64: It has recently also been MFC-ed to 7-STABLE :) (beware of instabilities and debugging in -CURREN