Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-22 Thread Alexander Leidinger
Quoting Juergen Lock n...@jelal.kn-bremen.de (from Mon, 21 Feb 2011 19:36:11 +0100): And here comes the patch for head: linux_dvb.h is still GPLed (not taking into account that there are voices which tell that interface descriptions are not copyrightable or something like this). As

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-22 Thread Juergen Lock
On Tue, Feb 22, 2011 at 09:26:41AM +0100, Alexander Leidinger wrote: Quoting Juergen Lock n...@jelal.kn-bremen.de (from Mon, 21 Feb 2011 19:36:11 +0100): And here comes the patch for head: linux_dvb.h is still GPLed (not taking into account that there are voices which tell that

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-22 Thread Alexander Leidinger
Quoting Juergen Lock n...@jelal.kn-bremen.de (from Tue, 22 Feb 2011 12:37:53 +0100): On Tue, Feb 22, 2011 at 09:26:41AM +0100, Alexander Leidinger wrote: Quoting Juergen Lock n...@jelal.kn-bremen.de (from Mon, 21 Feb 2011 19:36:11 +0100): And here comes the patch for head: linux_dvb.h is

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-22 Thread Juergen Lock
On Tue, Feb 22, 2011 at 01:50:31PM +0100, Alexander Leidinger wrote: Quoting Juergen Lock n...@jelal.kn-bremen.de (from Tue, 22 Feb 2011 12:37:53 +0100): On Tue, Feb 22, 2011 at 09:26:41AM +0100, Alexander Leidinger wrote: Quoting Juergen Lock n...@jelal.kn-bremen.de (from Mon, 21 Feb

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-21 Thread Juergen Lock
On Sat, Feb 19, 2011 at 07:57:44PM +0200, Kostik Belousov wrote: On Fri, Feb 18, 2011 at 09:55:42PM +0100, Juergen Lock wrote: I have finally got back to this and did the style and vm_map_remove() return value handling fixes, updated the patches in-place:

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-19 Thread Kostik Belousov
On Fri, Feb 18, 2011 at 09:55:42PM +0100, Juergen Lock wrote: I have finally got back to this and did the style and vm_map_remove() return value handling fixes, updated the patches in-place: http://people.freebsd.org/~nox/dvb/linux-dvb.patch (for head)

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-18 Thread Juergen Lock
I have finally got back to this and did the style and vm_map_remove() return value handling fixes, updated the patches in-place: http://people.freebsd.org/~nox/dvb/linux-dvb.patch (for head) http://people.freebsd.org/~nox/dvb/linux-dvb-8.patch (for 8.) On Sun, Jan 30, 2011 at

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-01-30 Thread Kostik Belousov
On Sun, Jan 30, 2011 at 12:54:48AM +0100, Juergen Lock wrote: On Sat, Jan 29, 2011 at 10:51:05PM +0200, Kostik Belousov wrote: On Sat, Jan 29, 2011 at 09:10:00PM +0100, Juergen Lock wrote: Hi! I was kinda hoping to be able to post a correct patch in public but getting an answer to

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-01-30 Thread Juergen Lock
On Sun, Jan 30, 2011 at 12:33:20PM +0200, Kostik Belousov wrote: On Sun, Jan 30, 2011 at 12:54:48AM +0100, Juergen Lock wrote: On Sat, Jan 29, 2011 at 10:51:05PM +0200, Kostik Belousov wrote: On Sat, Jan 29, 2011 at 09:10:00PM +0100, Juergen Lock wrote: Hi! I was kinda hoping

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-01-29 Thread Kostik Belousov
On Sat, Jan 29, 2011 at 09:10:00PM +0100, Juergen Lock wrote: Hi! I was kinda hoping to be able to post a correct patch in public but getting an answer to ${Subject} seems to be more difficult than I thought... :) So, does anyone here know? copyout_map() and You do not need Giant locked

Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-01-29 Thread Juergen Lock
Hi! I was kinda hoping to be able to post a correct patch in public but getting an answer to ${Subject} seems to be more difficult than I thought... :) So, does anyone here know? copyout_map() and copyout_unmap() are copied from ksyms_map() from sys/dev/ksyms/ksyms.c - should there maybe be

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-01-29 Thread Juergen Lock
On Sat, Jan 29, 2011 at 10:51:05PM +0200, Kostik Belousov wrote: On Sat, Jan 29, 2011 at 09:10:00PM +0100, Juergen Lock wrote: Hi! I was kinda hoping to be able to post a correct patch in public but getting an answer to ${Subject} seems to be more difficult than I thought... :) So,