Re: [PATCH] linprocfs dofilesystems

2010-01-10 Thread Gary Jennejohn
On Fri, 8 Jan 2010 18:19:29 +0100 Fernando Apestegu__a fernando.apesteg...@gmail.com wrote: 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

Re: [PATCH] linprocfs dofilesystems

2010-01-10 Thread Jilles Tjoelker
On Fri, Jan 08, 2010 at 06:19:29PM +0100, Fernando Apesteguía wrote: 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. Concrete examples of Linux apps that start working or work better

Re: bus_dmamap_load_uio() and user data

2010-01-10 Thread Max Laier
On Friday 08 January 2010 17:13:29 John Baldwin wrote: 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) {

Re: [PATCH] linprocfs dofilesystems

2010-01-10 Thread Fernando Apesteguía
2010/1/10 Gary Jennejohn gary.jennej...@freenet.de: On Fri, 8 Jan 2010 18:19:29 +0100 Fernando Apestegu__a fernando.apesteg...@gmail.com wrote: 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

Re: [PATCH] linprocfs dofilesystems

2010-01-10 Thread Fernando Apesteguía
2010/1/10 Jilles Tjoelker jil...@stack.nl: On Fri, Jan 08, 2010 at 06:19:29PM +0100, Fernando Apesteguía wrote: 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. Concrete examples of

Re: bus_dmamap_load_uio() and user data

2010-01-10 Thread Mark Tinguely
Ahh. I think bus_dmamap_load_uio() doesn't do deferred callbacks (i.e. mandates BUS_DMA_NOWAIT), and probably is always invoked from curthread. Even in the case of aio, the thread's vmspace is the effective one at the time bus_dmamap_load_uio() would be invoked, so in practice it