Re: Make process title - % complete

2009-10-21 Thread Adrian Penisoara
Hi, On Wed, Oct 21, 2009 at 3:11 AM, Max Laier m...@love2party.net wrote: On Monday 19 October 2009 16:08:06 Rink Springer wrote: Hi Ivan, On Mon, Oct 19, 2009 at 03:52:30PM +0200, Ivan Voras wrote: if nobody objects, I'll commit it :) I seem to recall that setproctitle() is quite

Re: FreeBSD DAQ Card Facility [DCF]

2009-10-21 Thread Dag-Erling Smørgrav
Manuel Gebele forens...@gmx.de writes: Dag-Erling Smørgrav d...@des.no writes: I would have just called it DAQ, which as you know is an established abbreviation for Data Acquisition. [...] I have no objection to that naming. Maybe I should call it just ``FreeBSD DAQ Facility'' (FDF). I

Re: FreeBSD DAQ Card Facility [DCF]

2009-10-21 Thread Manuel Gebele
on 21/10/2009 12:20 Dag-Erling Smørgrav said the following: I don't understand why it has to be so complicated. What's wrong with just DAQ? [...] What please is complicated in ``FreeBSD DAQ Facility''? Whats about KLD ``Dynamic Kernel Linker Facility''? BTW, if I send you a private email and

Re: mmap(2) segaults with certain len values and MAP_ANON|MAP_FIXED

2009-10-21 Thread Alexander Best
Nate Eldredge schrieb am 2009-10-21: On Wed, 21 Oct 2009, Alexander Best wrote: hi there, This is on a 32-bit platform I take it? yes. just a little mmap(2) related question. running the following code causes a segfault: mmap( (void*)0x1000, 0x80047000, PROT_NONE, MAP_ANON|MAP_FIXED,

Re: mmap(2) segaults with certain len values and MAP_ANON|MAP_FIXED

2009-10-21 Thread Robert Watson
On Wed, 21 Oct 2009, Alexander Best wrote: this code serves only one purpose: to trigger a segfault. i don't use the code for any other purpose. i was under the impression that mmap() should either succeed or fail (tertium non datur). mmap's manual doesn't say anything about mmap() causing

Re: mmap(2) segaults with certain len values and MAP_ANON|MAP_FIXED

2009-10-21 Thread Alexander Best
Robert Watson schrieb am 2009-10-21: On Wed, 21 Oct 2009, Alexander Best wrote: this code serves only one purpose: to trigger a segfault. i don't use the code for any other purpose. i was under the impression that mmap() should either succeed or fail (tertium non datur). mmap's manual

mmap(2) with MAP_ANON honouring offset although it shouldn't

2009-10-21 Thread Alexander Best
although the mmap(2) manual states in section MAP_ANON: The offset argument is ignored. this doesn't seem to be true. running printf(%p\n, mmap((void*)0x1000, 0x1000, PROT_NONE, MAP_ANON, -1, 0x12345678)); and printf(%p\n, mmap((void*)0x1000, 0x1000, PROT_NONE, MAP_ANON, -1, 0)); produces

Re: FreeBSD DAQ Card Facility [DCF]

2009-10-21 Thread Dag-Erling Smørgrav
Manuel Gebele forens...@gmx.de writes: BTW, if I send you a private email and you answer to the list, I answered to an email you sent to the list. DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-hackers@freebsd.org mailing list

multi-seg bus_dmamem_alloc?

2009-10-21 Thread Jason Harmening
Hi everyone, It seems like there are starting to be some drivers that need to allocate large chunks of DMA-able memory, and since bus_dmamem_alloc() on most architectures is always physically contiguous, it may not work for them. It seems like we could use the new sglist routines to help us

Re: mmap(2) with MAP_ANON honouring offset although it shouldn't

2009-10-21 Thread Alan Cox
On Wed, Oct 21, 2009 at 10:51 AM, Alexander Best alexbes...@math.uni-muenster.de wrote: although the mmap(2) manual states in section MAP_ANON: The offset argument is ignored. this doesn't seem to be true. running printf(%p\n, mmap((void*)0x1000, 0x1000, PROT_NONE, MAP_ANON, -1,

Re: mmap(2) segaults with certain len values and MAP_ANON|MAP_FIXED

2009-10-21 Thread John Baldwin
On Wednesday 21 October 2009 11:30:51 am Alexander Best wrote: Robert Watson schrieb am 2009-10-21: On Wed, 21 Oct 2009, Alexander Best wrote: this code serves only one purpose: to trigger a segfault. i don't use the code for any other purpose. i was under the impression that mmap()

Re: mmap(2) with MAP_ANON honouring offset although it shouldn't

2009-10-21 Thread John Baldwin
On Wednesday 21 October 2009 11:51:04 am Alexander Best wrote: although the mmap(2) manual states in section MAP_ANON: The offset argument is ignored. this doesn't seem to be true. running printf(%p\n, mmap((void*)0x1000, 0x1000, PROT_NONE, MAP_ANON, -1, 0x12345678)); and