Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-16 Thread Luis Henriques
On Tue, Feb 10, 2015 at 12:22:41PM +0400, Konstantin Khlebnikov wrote: > I've found regression: > > [ 257.139907] > [ 257.139909] [ BUG: lock held when returning to user space! ] > [ 257.139912] 3.18.6-debug+ #161 Tainted: G U > [

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-16 Thread Luis Henriques
On Tue, Feb 10, 2015 at 12:22:41PM +0400, Konstantin Khlebnikov wrote: I've found regression: [ 257.139907] [ 257.139909] [ BUG: lock held when returning to user space! ] [ 257.139912] 3.18.6-debug+ #161 Tainted: G U [ 257.139914]

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Konstantin Khlebnikov
On Wed, Feb 11, 2015 at 6:43 AM, Greg Kroah-Hartman wrote: > On Tue, Feb 10, 2015 at 12:22:41PM +0400, Konstantin Khlebnikov wrote: >> I've found regression: >> >> [ 257.139907] >> [ 257.139909] [ BUG: lock held when returning to user space! ] >>

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Greg Kroah-Hartman
On Tue, Feb 10, 2015 at 07:49:27PM -0800, Linus Torvalds wrote: > On Tue, Feb 10, 2015 at 7:43 PM, Greg Kroah-Hartman > wrote: > > > > Ah, nice, I missed that one. > > Ugh, to be fair, I missed it too. > > The alternative to backporting 7fb08eca4527 is to make the backport of > commit

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Linus Torvalds
On Tue, Feb 10, 2015 at 7:43 PM, Greg Kroah-Hartman wrote: > > Ah, nice, I missed that one. Ugh, to be fair, I missed it too. The alternative to backporting 7fb08eca4527 is to make the backport of commit 33692f27597f use "bad_area()" instead of "bad_area_nosemaphore()".

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Greg Kroah-Hartman
On Tue, Feb 10, 2015 at 12:22:41PM +0400, Konstantin Khlebnikov wrote: > I've found regression: > > [ 257.139907] > [ 257.139909] [ BUG: lock held when returning to user space! ] > [ 257.139912] 3.18.6-debug+ #161 Tainted: G U > [

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Konstantin Khlebnikov
I've found regression: [ 257.139907] [ 257.139909] [ BUG: lock held when returning to user space! ] [ 257.139912] 3.18.6-debug+ #161 Tainted: G U [ 257.139914] [ 257.139916] python/22843 is

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Linus Torvalds
On Tue, Feb 10, 2015 at 7:43 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: Ah, nice, I missed that one. Ugh, to be fair, I missed it too. The alternative to backporting 7fb08eca4527 is to make the backport of commit 33692f27597f use bad_area() instead of bad_area_nosemaphore().

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Greg Kroah-Hartman
On Tue, Feb 10, 2015 at 12:22:41PM +0400, Konstantin Khlebnikov wrote: I've found regression: [ 257.139907] [ 257.139909] [ BUG: lock held when returning to user space! ] [ 257.139912] 3.18.6-debug+ #161 Tainted: G U [ 257.139914]

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Greg Kroah-Hartman
On Tue, Feb 10, 2015 at 07:49:27PM -0800, Linus Torvalds wrote: On Tue, Feb 10, 2015 at 7:43 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: Ah, nice, I missed that one. Ugh, to be fair, I missed it too. The alternative to backporting 7fb08eca4527 is to make the backport of

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Konstantin Khlebnikov
I've found regression: [ 257.139907] [ 257.139909] [ BUG: lock held when returning to user space! ] [ 257.139912] 3.18.6-debug+ #161 Tainted: G U [ 257.139914] [ 257.139916] python/22843 is

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Konstantin Khlebnikov
On Wed, Feb 11, 2015 at 6:43 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Feb 10, 2015 at 12:22:41PM +0400, Konstantin Khlebnikov wrote: I've found regression: [ 257.139907] [ 257.139909] [ BUG: lock held when returning to

[PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 33692f27597fcab536d7cbbcc8f52905133e4aa7 upstream. The core VM already knows about VM_FAULT_SIGBUS, but cannot return a "you should SIGSEGV" error, because the SIGSEGV

[PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds torva...@linux-foundation.org commit 33692f27597fcab536d7cbbcc8f52905133e4aa7 upstream. The core VM already knows about VM_FAULT_SIGBUS, but cannot return a you should SIGSEGV