From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Slaby Subject: WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242 Date: Mon, 18 Feb 2013 11:27:43 +0100 Message-ID: <5122021F.1060207@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Marcin Slusarz , bskeggs@redhat.com Cc: dri-devel@lists.freedesktop.org, LKML List-Id: dri-devel@lists.freedesktop.org Hi, we have a report of WARNING from 3.7.6 in nouveau at drivers/gpu/drm/nouveau/core/core/mm.c:242 here: https://bugzilla.novell.com/show_bug.cgi?id=802347#c11 There is an order 4 allocation failure in nouveau_drm_open -> nouveau_vm_create, i.e. this one failed: vm->pgt = kcalloc(vm->lpde - vm->fpde + 1, sizeof(*vm->pgt), GFP_KERNEL); Then, on the error path in still in nouveau_drm_open, it is followed by a call to nouveau_cli_destroy. But that one calls nouveau_vm_ref -> nouveau_mm_fini -> nouveau_vm_del -> nouveau_mm_fini which triggers the warning. Any ideas? thanks, -- js suse labs