Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756423Ab0G0LOm (ORCPT ); Tue, 27 Jul 2010 07:14:42 -0400 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:45146 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756175Ab0G0LOl (ORCPT ); Tue, 27 Jul 2010 07:14:41 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 From: KOSAKI Motohiro To: dave b Subject: Re: PROBLEM: oom killer and swap weirdness on 2.6.3* kernels Cc: kosaki.motohiro@jp.fujitsu.com, David Rientjes , Hugh Dickins , linux-kernel@vger.kernel.org, linux-mm@kvack.org In-Reply-To: References: Message-Id: <20100727200804.2F40.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.50.07 [ja] Date: Tue, 27 Jul 2010 20:14:36 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5977 Lines: 114 > On 27 July 2010 18:09, dave b wrote: > > On 27 July 2010 16:09, KOSAKI Motohiro wrote: > >>> > Do you mean the issue will be gone if disabling intel graphics? > >>> It may be a general issue or it could just be specific :) > > > > I will try with the latest ubuntu and report how that goes (that will > > be using fairly new xorg etc.) it is likely to be hidden issue just > > with the intel graphics driver. However, my concern is that it isn't - > > and it is about how shared graphics memory is handled :) > > > Ok my desktop still stalled and no oom killer was invoked when I added > swap to a live-cd of 10.04 amd64. > > *Without* *swap* *on* - the oom killer was invoked - here is a copy of it. This stack seems similar following bug. can you please try to disable intel graphics driver? https://bugzilla.kernel.org/show_bug.cgi?id=14933 > [ 298.180542] Xorg invoked oom-killer: gfp_mask=0xd0, order=0, oom_adj=0 > [ 298.180553] Xorg cpuset=/ mems_allowed=0 > [ 298.180560] Pid: 3808, comm: Xorg Not tainted 2.6.32-21-generic #32-Ubuntu > [ 298.180564] Call Trace: > [ 298.180583] [] ? cpuset_print_task_mems_allowed+0x9d/0xb0 > [ 298.180595] [] oom_kill_process+0xd4/0x2f0 > [ 298.180603] [] ? select_bad_process+0xd0/0x110 > [ 298.180609] [] __out_of_memory+0x58/0xc0 > [ 298.180616] [] out_of_memory+0x12e/0x1a0 > [ 298.180626] [] ? _spin_lock+0xe/0x20 > [ 298.180633] [] __alloc_pages_slowpath+0x511/0x580 > [ 298.180641] [] __alloc_pages_nodemask+0x15e/0x1a0 > [ 298.180650] [] alloc_pages_current+0x87/0xd0 > [ 298.180657] [] __get_free_pages+0xe/0x50 > [ 298.180666] [] __pollwait+0xb4/0xf0 > [ 298.180673] [] unix_poll+0x25/0xc0 > [ 298.180682] [] sock_poll+0x1a/0x20 > [ 298.180688] [] do_select+0x3a2/0x6d0 > [ 298.180696] [] ? __pollwait+0x0/0xf0 > [ 298.180702] [] ? pollwake+0x0/0x60 > [ 298.180708] [] ? pollwake+0x0/0x60 > [ 298.180714] [] ? pollwake+0x0/0x60 > [ 298.180721] [] ? pollwake+0x0/0x60 > [ 298.180727] [] ? pollwake+0x0/0x60 > [ 298.180732] [] ? pollwake+0x0/0x60 > [ 298.180737] [] ? pollwake+0x0/0x60 > [ 298.180741] [] ? pollwake+0x0/0x60 > [ 298.180745] [] ? pollwake+0x0/0x60 > [ 298.180749] [] core_sys_select+0x18a/0x2c0 > [ 298.180777] [] ? drm_ioctl+0x13d/0x480 [drm] > [ 298.180784] [] ? autoremove_wake_function+0x0/0x40 > [ 298.180790] [] ? default_spin_lock_flags+0x9/0x10 > [ 298.180795] [] ? _spin_lock_irqsave+0x2f/0x40 > [ 298.180800] [] ? read_tsc+0x9/0x20 > [ 298.180805] [] ? ktime_get_ts+0xa9/0xe0 > [ 298.180810] [] sys_select+0x47/0x110 > [ 298.180816] [] system_call_fastpath+0x16/0x1b > [ 298.180819] Mem-Info: > [ 298.180822] Node 0 DMA per-cpu: > [ 298.180827] CPU 0: hi: 0, btch: 1 usd: 0 > [ 298.180830] CPU 1: hi: 0, btch: 1 usd: 0 > [ 298.180832] Node 0 DMA32 per-cpu: > [ 298.180837] CPU 0: hi: 186, btch: 31 usd: 60 > [ 298.180839] CPU 1: hi: 186, btch: 31 usd: 137 > [ 298.180845] active_anon:374344 inactive_anon:81753 isolated_anon:0 > [ 298.180847] active_file:7038 inactive_file:7089 isolated_file:0 > [ 298.180848] unevictable:0 dirty:0 writeback:0 unstable:0 > [ 298.180849] free:3399 slab_reclaimable:4226 slab_unreclaimable:4383 > [ 298.180851] mapped:13010 shmem:45284 pagetables:5496 bounce:0 > [ 298.180854] Node 0 DMA free:7920kB min:40kB low:48kB high:60kB > active_anon:3880kB inactive_anon:4096kB active_file:0kB > inactive_file:0kB unevictable:0kB isolated(anon):0kB > isolated(file):0kB present:15348kB mlocked:0kB dirty:0kB writeback:0kB > mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:8kB > kernel_stack:0kB pagetables:16kB unstable:0kB bounce:0kB > writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes > [ 298.180866] lowmem_reserve[]: 0 1971 1971 1971 > [ 298.180871] Node 0 DMA32 free:5676kB min:5660kB low:7072kB > high:8488kB active_anon:1493496kB inactive_anon:322916kB > active_file:28152kB inactive_file:28356kB unevictable:0kB > isolated(anon):0kB isolated(file):0kB present:2019172kB mlocked:0kB > dirty:0kB writeback:0kB mapped:52040kB shmem:181136kB > slab_reclaimable:16904kB slab_unreclaimable:17524kB > kernel_stack:2096kB pagetables:21968kB unstable:0kB bounce:0kB > writeback_tmp:0kB pages_scanned:41088 all_unreclaimable? no > [ 298.180884] lowmem_reserve[]: 0 0 0 0 > [ 298.180889] Node 0 DMA: 4*4kB 2*8kB 1*16kB 2*32kB 2*64kB 2*128kB > 1*256kB 2*512kB 2*1024kB 2*2048kB 0*4096kB = 7920kB > [ 298.180904] Node 0 DMA32: 397*4kB 1*8kB 1*16kB 1*32kB 1*64kB > 1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 5676kB > [ 298.180918] 59413 total pagecache pages > [ 298.180920] 0 pages in swap cache > [ 298.180923] Swap cache stats: add 0, delete 0, find 0/0 > [ 298.180925] Free swap = 0kB > [ 298.180927] Total swap = 0kB > [ 298.188124] 515887 pages RAM > [ 298.188127] 9764 pages reserved > [ 298.188129] 108553 pages shared > [ 298.188131] 467319 pages non-shared > [ 298.188136] Out of memory: kill process 3821 (gnome-session) score > 503983 or a child > [ 298.188141] Killed process 3855 (ssh-agent) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/