Re: Patch to Makefile.inc1 to mention which kernel config is being installed

2010-01-08 Thread John Baldwin
On Tuesday 05 January 2010 9:17:22 am Bjoern A. Zeeb wrote: On Tue, 5 Jan 2010, David Wolfskill wrote: On Tue, Jan 05, 2010 at 01:59:13PM +, Bjoern A. Zeeb wrote: On Tue, 5 Jan 2010, David Wolfskill wrote: Attached patch is against head; for the above, I had patched stable/7.

Re: bus_dmamap_load_uio() and user data

2010-01-08 Thread John Baldwin
On Thursday 07 January 2010 4:17:52 pm Mark Tinguely wrote: In the user space case of bus_dmamap_load_uio(), the calling thread is stored in uio-uio_td, in which the user's pmap can be determined. The ARM processor, with the possible exception of the ARMv7 MPcore with snoop control unit,

Re: bus_dmamap_load_uio() and user data

2010-01-08 Thread Mark Tinguely
You should use the pmap from the thread in the uio structure. Similar to this from the x86 bus_dma code: if (uio-uio_segflg == UIO_USERSPACE) { KASSERT(uio-uio_td != NULL, (bus_dmamap_load_uio: USERSPACE but no proc));

Re: Patch to Makefile.inc1 to mention which kernel config is being installed

2010-01-08 Thread David Wolfskill
On Fri, Jan 08, 2010 at 08:31:11AM -0500, John Baldwin wrote: Thoughts? INSTKERNNAME rather than INSTALLKERNEL? Well, I was interested in knowing which config was being used, not so much what the name of the subdirectory in /boot was going to be. (Default value for

Re: bus_dmamap_load_uio() and user data

2010-01-08 Thread John Baldwin
On Friday 08 January 2010 9:14:36 am Mark Tinguely wrote: You should use the pmap from the thread in the uio structure. Similar to this from the x86 bus_dma code: if (uio-uio_segflg == UIO_USERSPACE) { KASSERT(uio-uio_td != NULL,

Re: Question regarding memory disks

2010-01-08 Thread Ulrich Spörlein
On Wed, 06.01.2010 at 16:27:09 -0800, Julian Elischer wrote: Pieter de Goeje wrote: Because when you erase something, all it does is unlink (delete the reference to) the data. So there is currently no way the memory disk can free the memory associated with the data. That is also why

[PATCH] linprocfs dofilesystems

2010-01-08 Thread Fernando Apesteguía
Hi all, This patch implements the filesystems file in the linux proc fs. I have used it for some time without seeing any problems. Let me know in case this is useful. Tested against 8.0-RELEASE-p1 Thanks patch.linprocfs.filesystems Description: Binary data

nginx hanging with state zoneli

2010-01-08 Thread Steven Hartland
The first time in a while be we just had nginx get stuck in the zoneli state: 51630 www 1 -160 16616K 9396K zoneli 2 24:33 0.00% nginx 51627 www 1 -160 16616K 9376K zoneli 1 24:22 0.00% nginx 51629 www 1 -160 16616K 9372K zoneli 3 24:09 0.00% nginx

Re: Question regarding memory disks

2010-01-08 Thread Julian Elischer
Ulrich Spörlein wrote: On Wed, 06.01.2010 at 16:27:09 -0800, Julian Elischer wrote: Pieter de Goeje wrote: Because when you erase something, all it does is unlink (delete the reference to) the data. So there is currently no way the memory disk can free the memory associated with the data.