Re: [PATCH] vgaarb: fix signal handling in vga_get()

2015-12-14 Thread Kirill A. Shutemov
On Mon, Dec 14, 2015 at 11:20:00AM +0100, David Herrmann wrote: > Hi > > On Mon, Dec 14, 2015 at 9:19 AM, Kirill A. Shutemov > wrote: > > On Thu, Dec 10, 2015 at 11:28:58AM +0100, David Herrmann wrote: > >> Hi > >> > >> On Mon, Nov 30, 20

Re: [PATCH] vgaarb: fix signal handling in vga_get()

2015-12-14 Thread Kirill A. Shutemov
On Thu, Dec 10, 2015 at 11:28:58AM +0100, David Herrmann wrote: > Hi > > On Mon, Nov 30, 2015 at 3:17 AM, Kirill A. Shutemov > wrote: > > There are few defects in vga_get() related to signal hadning: > > > > - we shouldn't check for pending signals fo

Re: [PATCH] vgaarb: fix signal handling in vga_get()

2015-12-09 Thread Kirill A. Shutemov
On Mon, Nov 30, 2015 at 04:17:31AM +0200, Kirill A. Shutemov wrote: > There are few defects in vga_get() related to signal hadning: > > - we shouldn't check for pending signals for TASK_UNINTERRUPTIBLE > case; > > - if we found pending signal we must remove

[PATCH] vgaarb: fix signal handling in vga_get()

2015-11-29 Thread Kirill A. Shutemov
te, I guess. Signed-off-by: Kirill A. Shutemov --- Alex, I try to get KVM with VGA passthrough working properly. I have i915 (HD 4600) on the host and GTX 580 for the guest. The guest GPU is not capabale of EFI, so I have to use x-vga=on. It's kinda work with your patch for i915.enable_hd_vga

Re: [PATCH 08/17] mm: madvise MADV_USERFAULT

2014-10-07 Thread Kirill A. Shutemov
On Tue, Oct 07, 2014 at 03:24:58PM +0200, Andrea Arcangeli wrote: > Hi Kirill, > > On Tue, Oct 07, 2014 at 01:36:45PM +0300, Kirill A. Shutemov wrote: > > On Fri, Oct 03, 2014 at 07:07:58PM +0200, Andrea Arcangeli wrote: > > > MADV_USERFAULT is a new madvise flag that will

Re: [Qemu-devel] [PATCH 08/17] mm: madvise MADV_USERFAULT

2014-10-07 Thread Kirill A. Shutemov
On Tue, Oct 07, 2014 at 12:01:02PM +0100, Dr. David Alan Gilbert wrote: > * Kirill A. Shutemov (kir...@shutemov.name) wrote: > > On Tue, Oct 07, 2014 at 11:46:04AM +0100, Dr. David Alan Gilbert wrote: > > > * Kirill A. Shutemov (kir...@shutemov.name) wrote: > > > >

Re: [Qemu-devel] [PATCH 10/17] mm: rmap preparation for remap_anon_pages

2014-10-07 Thread Kirill A. Shutemov
triggering COW instead of adding limitation on pages' mapcount? The limitation looks artificial from interface POV. -- Kirill A. Shutemov -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [Qemu-devel] [PATCH 08/17] mm: madvise MADV_USERFAULT

2014-10-07 Thread Kirill A. Shutemov
On Tue, Oct 07, 2014 at 11:46:04AM +0100, Dr. David Alan Gilbert wrote: > * Kirill A. Shutemov (kir...@shutemov.name) wrote: > > On Fri, Oct 03, 2014 at 07:07:58PM +0200, Andrea Arcangeli wrote: > > > MADV_USERFAULT is a new madvise flag that will set VM_USERFAULT in the > &g

Re: [PATCH 08/17] mm: madvise MADV_USERFAULT

2014-10-07 Thread Kirill A. Shutemov
ich may or may not trigger an action from kernel side. I don't think an application will behaive reasonably if kernel ignore the *advise* and will not send SIGBUS, but allocate memory. I would suggest to consider to use some other interface for the functionality: a new syscall or, perhaps, mpr

Re: [PATCH 07/17] mm: madvise MADV_USERFAULT: prepare vm_flags to allow more than 32bits

2014-10-07 Thread Kirill A. Shutemov
; /* >* In case if we meet a flag we don't know about. >*/ > - [0 ... (BITS_PER_LONG-1)] = "??", > + [0 ... (BITS_PER_LONG)] = "??", > > [ilog2(VM_READ)]= "rd",

Re: BUG at mm/memory.c

2014-06-19 Thread Kirill A. Shutemov
2 CEST 2014 x86_64 > Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz GenuineIntel GNU/Linux > > Jun 17 16:59:47 toaster kernel: [ cut here ] > Jun 17 16:59:47 toaster kernel: kernel BUG at mm/memory.c:3924! http://marc.info/?l=linux-kernel&m=140319579508104&w=2 --

BUG: MAX_LOCK_DEPTH too low!

2012-12-17 Thread Kirill A. Shutemov
39152] [] sys_ioctl+0x91/0xb0 [ 1145.439158] [] ? trace_hardirqs_on_thunk+0x3a/0x3f [ 1145.439163] [] system_call_fastpath+0x1a/0x1f -- Kirill A. Shutemov -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordom

[PATCH] kvm tools: fix rbtree-interval search

2012-10-29 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" I've noticed message on kvm exit: Warning: serial8250__exit failed. kvm tool is not able to remove ioport range which was added previously. The issue is caused by bug in rbtree-interval. Search algorithm in rb_int_search_single() expects correct va

Re: [BUG] lkvm crash on crashkernel boot

2012-10-25 Thread Kirill A. Shutemov
On Thu, Oct 25, 2012 at 10:17:27AM +0300, Pekka Enberg wrote: > On Wed, Oct 24, 2012 at 6:27 PM, Kirill A. Shutemov > wrote: > > Hi, > > > > I've tried to play with kexec using lkvm. Unfortunately, lkvm crashes when > > I try to switch to crashkernel. > &g

[BUG] lkvm crash on crashkernel boot

2012-10-24 Thread Kirill A. Shutemov
d (arg=) at pthread_create.c:304 #7 0x7f701e1fe70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #8 0x in ?? () [1] https://patchwork.kernel.org/patch/1608411/ -- Kirill A. Shutemov signature.asc Description: Digital signature

Re: BUG: sleeping function called from invalid context at mm/slub.c:793

2011-01-11 Thread Kirill A. Shutemov
On Tue, Jan 11, 2011 at 12:29:41PM +0200, Avi Kivity wrote: > On 01/11/2011 11:49 AM, Avi Kivity wrote: > > On 01/10/2011 09:31 PM, Kirill A. Shutemov wrote: > >> On Mon, Jan 10, 2011 at 10:52:05AM -0600, Christoph Lameter wrote: > >> > > >> > On

Re: BUG: sleeping function called from invalid context at mm/slub.c:793

2011-01-10 Thread Kirill A. Shutemov
On Mon, Jan 10, 2011 at 10:52:05AM -0600, Christoph Lameter wrote: > > On Mon, 10 Jan 2011, Kirill A. Shutemov wrote: > > > Every time I run qemu with KVM enabled I get this in dmesg: > > > > [ 182.878328] BUG: sleeping function called from invalid co