Re: [PATCH v3]mm/oom-kill: direct hardware access processes shouldget bonus

From: David Rientjes
Date: Tue Jan 04 2011 - 22:32:40 EST


On Tue, 4 Jan 2011, Figo.zhang wrote:

> i had send the patch to protect the hardware access processes for oom-killer
> before, but rientjes have not agree with me.
>

My objection wasn't just limited to CAP_SYS_RAWIO but rather to all
arbitrary heuristics that make the badness scoring less than predictable.
oom_badness()'s sole responsibility as implemented is to identify the most
memory-hogging task that is eligible for kill in the current context and
adding additional heuristics on top of that beyond CAP_SYS_ADMIN will
slowly make it evolve into what we had before. It also depreciates the
unit of the new userspace tunable.

> but today i catch log from my desktop. oom-killer have kill my "minicom" and
> "Xorg". so i think it should add protection about it.
>

Because Xorg was killed does necessarily mean we need to add more
heursitics to the oom killer. In fact, if you are to again suggest the 3%
memory bonus for these tasks, you should be able to show that the same
result cannot happen even with your patch. I don't believe you've made a
case for that and making all CAP_SYS_RAWIO tasks immune from oom killing
as a default choice would be inappropriate.

If the kernel is killing Xorg, that means it is the most memory-hogging
task on the system and it is following the heuristic's core principle:
kill the most memory-hogging task to free a large amount of memory to
prevent additional oom kills in the near future if allowed by userspace.
The kernel doesn't realize that Xorg is important to you and me, it needs
to tell it using /proc/pid/oom_score_adj. Throwing additional heuristics
for things like CAP_SYS_RAWIO is short-sighted, however, because the
capability itself doesn't have any direct correlation to a memory quantity
or oom killing preference.

[snipped the first oom killer log because it was incomplete]

> > Jan 4 15:22:51 figo-desktop kernel: minicom invoked oom-killer:
> > gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
> > Jan 4 15:22:51 figo-desktop kernel: minicom cpuset=/ mems_allowed=0
> > Jan 4 15:22:51 figo-desktop kernel: Pid: 18613, comm: minicom Not tainted
> > 2.6.36-ARCH #1
> > Jan 4 15:22:51 figo-desktop kernel: Call Trace:
> > Jan 4 15:22:51 figo-desktop kernel: [<c10c11d0>]
> > dump_header.clone.5+0x80/0x1e0
> > Jan 4 15:22:51 figo-desktop kernel: [<c10c153c>]
> > oom_kill_process+0x5c/0x1c0
> > Jan 4 15:22:51 figo-desktop kernel: [<c10c171d>] ?
> > select_bad_process.clone.7+0x7d/0xd0
> > Jan 4 15:22:51 figo-desktop kernel: [<c10c1a0f>] out_of_memory+0xbf/0x1d0
> > Jan 4 15:22:51 figo-desktop kernel: [<c10c18d8>] ?
> > try_set_zonelist_oom+0xc8/0xe0
> > Jan 4 15:22:51 figo-desktop kernel: [<c10c5288>]
> > __alloc_pages_nodemask+0x5e8/0x600
> > Jan 4 15:22:51 figo-desktop kernel: [<c10c6c35>]
> > __do_page_cache_readahead+0x105/0x230
> > Jan 4 15:22:51 figo-desktop kernel: [<c10c6fc1>] ra_submit+0x21/0x30
> > Jan 4 15:22:51 figo-desktop kernel: [<c10bf31b>] filemap_fault+0x36b/0x3e0
> > Jan 4 15:22:51 figo-desktop kernel: [<c10d637b>] __do_fault+0x3b/0x4f0
> > Jan 4 15:22:51 figo-desktop kernel: [<c122e619>] ?
> > check_modem_status+0x19/0x1d0
> > Jan 4 15:22:51 figo-desktop kernel: [<c10befb0>] ? filemap_fault+0x0/0x3e0
> > Jan 4 15:22:51 figo-desktop kernel: [<c10d95c1>]
> > handle_mm_fault+0x111/0x970
> > Jan 4 15:22:51 figo-desktop kernel: [<c1172121>] ?
> > tomoyo_init_request_info+0x41/0x50
> > Jan 4 15:22:51 figo-desktop kernel: [<c1028d60>] ? do_page_fault+0x0/0x3e0
> > Jan 4 15:22:51 figo-desktop kernel: [<c1028eb0>] do_page_fault+0x150/0x3e0
> > Jan 4 15:22:51 figo-desktop kernel: [<c1170eb2>] ?
> > tomoyo_file_ioctl+0x12/0x20
> > Jan 4 15:22:51 figo-desktop kernel: [<c110c43f>] ? sys_ioctl+0x5f/0x80
> > Jan 4 15:22:51 figo-desktop kernel: [<c1028d60>] ? do_page_fault+0x0/0x3e0
> > Jan 4 15:22:51 figo-desktop kernel: [<c130753b>] error_code+0x67/0x6c
> > Jan 4 15:22:51 figo-desktop kernel: Mem-Info:
> > Jan 4 15:22:51 figo-desktop kernel: DMA per-cpu:
> > Jan 4 15:22:51 figo-desktop kernel: CPU 0: hi: 0, btch: 1 usd: 0
> > Jan 4 15:22:51 figo-desktop kernel: CPU 1: hi: 0, btch: 1 usd: 0
> > Jan 4 15:22:51 figo-desktop kernel: Normal per-cpu:
> > Jan 4 15:22:51 figo-desktop kernel: CPU 0: hi: 186, btch: 31 usd: 61
> > Jan 4 15:22:54 figo-desktop kernel: CPU 1: hi: 186, btch: 31 usd: 1
> > Jan 4 15:22:54 figo-desktop kernel: HighMem per-cpu:
> > Jan 4 15:22:54 figo-desktop kernel: CPU 0: hi: 186, btch: 31 usd: 30
> > Jan 4 15:22:54 figo-desktop kernel: CPU 1: hi: 186, btch: 31 usd: 30
> > Jan 4 15:22:54 figo-desktop kernel: active_anon:191656 inactive_anon:101947
> > isolated_anon:0
> > Jan 4 15:22:54 figo-desktop kernel: active_file:54186 inactive_file:122506
> > isolated_file:0
> > Jan 4 15:22:54 figo-desktop kernel: unevictable:17 dirty:0 writeback:0
> > unstable:0
> > Jan 4 15:22:54 figo-desktop kernel: free:11958 slab_reclaimable:5450
> > slab_unreclaimable:6123
> > Jan 4 15:22:54 figo-desktop kernel: mapped:49649 shmem:29219
> > pagetables:2559 bounce:0
> > Jan 4 15:22:54 figo-desktop kernel: DMA free:7960kB min:64kB low:80kB
> > high:96kB active_anon:4772kB inactive_anon:1180kB active_file:524kB
> > inactive_file:768kB unevictable:0kB isolated(anon):0kB isolated(file):0kB
> > present:15788kB mlocked:0kB dirty:0kB writeback:0kB mapped:592kB shmem:348kB
> > slab_reclaimable:480kB slab_unreclaimable:112kB kernel_stack:8kB
> > pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:2689
> > all_unreclaimable? yes
> > Jan 4 15:22:55 figo-desktop kernel: lowmem_reserve[]: 0 865 1980 1980
> > Jan 4 15:22:55 figo-desktop kernel: Normal free:39364kB min:3728kB
> > low:4660kB high:5592kB active_anon:224324kB inactive_anon:226020kB
> > active_file:86076kB inactive_file:207880kB unevictable:68kB
> > isolated(anon):0kB isolated(file):0kB present:885944kB mlocked:68kB
> > dirty:0kB writeback:0kB mapped:57272kB shmem:42072kB
> > slab_reclaimable:21320kB slab_unreclaimable:24380kB kernel_stack:3224kB
> > pagetables:10236kB unstable:0kB bounce:0kB writeback_tmp:0kB
> > pages_scanned:445029 all_unreclaimable? yes
> > Jan 4 15:22:55 figo-desktop kernel: lowmem_reserve[]: 0 0 8921 8921
> > Jan 4 15:22:55 figo-desktop kernel: HighMem free:508kB min:512kB low:1712kB
> > high:2912kB active_anon:537528kB inactive_anon:180588kB active_file:130144kB
> > inactive_file:281376kB unevictable:0kB isolated(anon):0kB isolated(file):0kB
> > present:1141984kB mlocked:0kB dirty:0kB writeback:0kB mapped:140732kB
> > shmem:74456kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB
> > pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB
> > pages_scanned:644938 all_unreclaimable? yes
> > Jan 4 15:22:55 figo-desktop kernel: lowmem_reserve[]: 0 0 0 0
> > Jan 4 15:22:55 figo-desktop kernel: DMA: 1500*4kB 245*8kB 0*16kB 0*32kB
> > 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 7960kB
> > Jan 4 15:22:55 figo-desktop kernel: Normal: 1399*4kB 3723*8kB 91*16kB
> > 21*32kB 5*64kB 2*128kB 3*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 39364kB
> > Jan 4 15:22:55 figo-desktop kernel: HighMem: 27*4kB 10*8kB 18*16kB 1*32kB
> > 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 508kB
> > Jan 4 15:22:55 figo-desktop kernel: 206073 total pagecache pages
> > Jan 4 15:22:55 figo-desktop kernel: 151 pages in swap cache
> > Jan 4 15:22:55 figo-desktop kernel: Swap cache stats: add 889409, delete
> > 889258, find 277087/391428
> > Jan 4 15:22:55 figo-desktop kernel: Free swap = -1636kB
> > Jan 4 15:22:55 figo-desktop kernel: Total swap = 0kB
> > Jan 4 15:22:55 figo-desktop kernel: 515070 pages RAM
> > Jan 4 15:22:55 figo-desktop kernel: 287745 pages HighMem
> > Jan 4 15:22:55 figo-desktop kernel: 8297 pages reserved
> > Jan 4 15:22:55 figo-desktop kernel: 304095 pages shared
> > Jan 4 15:22:55 figo-desktop kernel: 306148 pages non-shared
> > Jan 4 15:22:55 figo-desktop kernel: [ pid ] uid tgid total_vm rss
> > cpu oom_adj oom_score_adj name
> > Jan 4 15:22:55 figo-desktop kernel: [ 583] 0 583 581 207
> > 1 -17 -1000 udevd
> > Jan 4 15:22:55 figo-desktop kernel: [ 1303] 0 1303 868 37
> > 0 0 0 syslog-ng
> > Jan 4 15:22:55 figo-desktop kernel: [ 1304] 0 1304 1604 350
> > 0 0 0 syslog-ng
> > Jan 4 15:22:55 figo-desktop kernel: [ 1306] 81 1306 808 396
> > 1 0 0 dbus-daemon
> > Jan 4 15:22:55 figo-desktop kernel: [ 1309] 82 1309 3777 406
> > 0 0 0 hald
> > Jan 4 15:22:55 figo-desktop kernel: [ 1310] 0 1310 903 130
> > 1 0 0 hald-runner
> > Jan 4 15:22:55 figo-desktop kernel: [ 1339] 0 1339 919 90
> > 1 0 0 hald-addon-inpu
> > Jan 4 15:22:55 figo-desktop kernel: [ 1357] 0 1357 919 184
> > 1 0 0 hald-addon-stor
> > Jan 4 15:22:55 figo-desktop kernel: [ 1359] 82 1359 824 107
> > 1 0 0 hald-addon-acpi
> > Jan 4 15:22:55 figo-desktop kernel: [ 1448] 0 1448 616 294
> > 0 0 0 crond
> > Jan 4 15:22:55 figo-desktop kernel: [ 1477] 0 1477 720 108
> > 0 0 0 mysqld_safe
> > Jan 4 15:22:55 figo-desktop kernel: [ 1484] 0 1484 3580 269
> > 0 0 0 gdm-binary
> > Jan 4 15:22:55 figo-desktop kernel: [ 1497] 0 1497 440 67
> > 1 0 0 agetty
> > Jan 4 15:22:55 figo-desktop kernel: [ 1498] 0 1498 440 67
> > 0 0 0 agetty
> > Jan 4 15:22:55 figo-desktop kernel: [ 1499] 0 1499 440 67
> > 0 0 0 agetty
> > Jan 4 15:22:55 figo-desktop kernel: [ 1500] 0 1500 440 67
> > 1 0 0 agetty
> > Jan 4 15:22:55 figo-desktop kernel: [ 1501] 0 1501 440 67
> > 0 0 0 agetty
> > Jan 4 15:22:55 figo-desktop kernel: [ 1502] 0 1502 440 68
> > 0 0 0 agetty
> > Jan 4 15:22:55 figo-desktop kernel: [ 1553] 0 1553 6607 619
> > 0 0 0 NetworkManager
> > Jan 4 15:22:55 figo-desktop kernel: [ 1592] 0 1592 2256 330
> > 0 0 0 cupsd
> > Jan 4 15:22:55 figo-desktop kernel: [ 1597] 89 1597 29903 2812
> > 1 0 0 mysqld
> > Jan 4 15:22:55 figo-desktop kernel: [ 1598] 0 1598 1652 147
> > 1 -17 -1000 sshd
> > Jan 4 15:22:55 figo-desktop kernel: [ 1612] 0 1612 6263 508
> > 1 0 0 polkitd
> > Jan 4 15:22:55 figo-desktop kernel: [ 1613] 0 1613 2015 123
> > 1 0 0 vmware-usbarbit
> > Jan 4 15:22:55 figo-desktop kernel: [ 1617] 0 1617 2887 1603
> > 0 0 0 cntlm
> > Jan 4 15:22:55 figo-desktop kernel: [ 1620] 0 1620 4398 366
> > 0 0 0 gdm-simple-slav
> > Jan 4 15:22:55 figo-desktop kernel: [ 1636] 0 1636 37298 12186
> > 0 0 0 Xorg
> > Jan 4 15:22:55 figo-desktop kernel: [ 1638] 0 1638 1248 88
> > 0 0 0 wpa_supplicant
> > Jan 4 15:22:55 figo-desktop kernel: [ 1720] 0 1720 4789 1555
> > 1 0 0 httpd
> > Jan 4 15:22:55 figo-desktop kernel: [ 1722] 0 1722 488 93
> > 0 0 0 dhcpcd
> > Jan 4 15:22:55 figo-desktop kernel: [ 1732] 0 1732 519 62
> > 1 0 0 vmnet-bridge
> > Jan 4 15:22:55 figo-desktop kernel: [ 1750] 0 1750 4922 304
> > 1 0 0 smbd
> > Jan 4 15:22:55 figo-desktop kernel: [ 1764] 0 1764 655 39
> > 1 0 0 vmnet-dhcpd
> > Jan 4 15:22:55 figo-desktop kernel: [ 1772] 0 1772 513 15
> > 0 0 0 vmnet-netifup
> > Jan 4 15:22:55 figo-desktop kernel: [ 1774] 0 1774 655 39
> > 0 0 0 vmnet-dhcpd
> > Jan 4 15:22:55 figo-desktop kernel: [ 1776] 0 1776 4922 225
> > 0 0 0 smbd
> > Jan 4 15:22:55 figo-desktop kernel: [ 1778] 0 1778 634 44
> > 0 0 0 vmnet-natd
> > Jan 4 15:22:55 figo-desktop kernel: [ 1780] 0 1780 513 14
> > 1 0 0 vmnet-netifup
> > Jan 4 15:22:55 figo-desktop kernel: [ 1796] 0 1796 6677 329
> > 0 0 0 console-kit-dae
> > Jan 4 15:22:55 figo-desktop kernel: [ 1899] 120 1899 6587 598
> > 0 0 0 polkit-gnome-au
> > Jan 4 15:22:55 figo-desktop kernel: [ 1903] 0 1903 3905 245
> > 0 0 0 gdm-session-wor
> > Jan 4 15:22:55 figo-desktop kernel: [ 1906] 0 1906 3677 314
> > 1 0 0 upowerd
> > Jan 4 15:22:55 figo-desktop kernel: [ 1974] 1000 1974 10963 1248
> > 0 0 0 gnome-keyring-d
> > Jan 4 15:22:55 figo-desktop kernel: [ 1993] 1000 1993 9253 776
> > 0 0 0 gnome-session
> > Jan 4 15:22:55 figo-desktop kernel: [ 2012] 1000 2012 796 103
> > 0 0 0 dbus-launch
> > Jan 4 15:22:55 figo-desktop kernel: [ 2013] 1000 2013 5854 4985
> > 0 0 0 dbus-daemon
> > Jan 4 15:22:55 figo-desktop kernel: [ 2015] 1000 2015 887 54
> > 0 0 0 ssh-agent
> > Jan 4 15:22:55 figo-desktop kernel: [ 2022] 1000 2022 10904 4789
> > 0 0 0 fcitx
> > Jan 4 15:22:55 figo-desktop kernel: [ 2032] 1000 2032 41764 2007
> > 0 0 0 gnome-settings-
> > Jan 4 15:22:55 figo-desktop kernel: [ 2036] 1000 2036 2367 416
> > 0 0 0 gvfsd
> > Jan 4 15:22:55 figo-desktop kernel: [ 2039] 1000 2039 85188 29636
> > 1 0 0 metacity
> > Jan 4 15:22:55 figo-desktop kernel: [ 2049] 1000 2049 14162 280
> > 1 0 0 gvfs-fuse-daemo
> > Jan 4 15:22:55 figo-desktop kernel: [ 2053] 1000 2053 76657 3620
> > 0 0 0 gnome-panel
> > Jan 4 15:22:55 figo-desktop kernel: [ 2056] 1000 2056 10978 563
> > 1 0 0 gvfs-gdu-volume
> > Jan 4 15:22:55 figo-desktop kernel: [ 2058] 0 2058 5767 503
> > 0 0 0 udisks-daemon
> > Jan 4 15:22:55 figo-desktop kernel: [ 2059] 0 2059 1291 72
> > 0 0 0 udisks-daemon
> > Jan 4 15:22:55 figo-desktop kernel: [ 2069] 1000 2069 168292 50943
> > 0 0 0 nautilus
> > Jan 4 15:22:55 figo-desktop kernel: [ 2071] 1000 2071 12907 223
> > 0 0 0 bonobo-activati
> > Jan 4 15:22:55 figo-desktop kernel: [ 2081] 1000 2081 1633 136
> > 0 0 0 sh
> > Jan 4 15:22:55 figo-desktop kernel: [ 2082] 1000 2082 1666 136
> > 1 0 0 thunderbird
> > Jan 4 15:22:55 figo-desktop kernel: [ 2084] 1000 2084 46718 3501
> > 1 0 0 wnck-applet
> > Jan 4 15:22:55 figo-desktop kernel: [ 2086] 1000 2086 42862 1487
> > 0 0 0 polkit-gnome-au
> > Jan 4 15:22:55 figo-desktop kernel: [ 2087] 1000 2087 285933 1584
> > 0 0 0 nm-applet
> > Jan 4 15:22:55 figo-desktop kernel: [ 2104] 1000 2104 5056 715
> > 0 0 0 gdu-notificatio
> > Jan 4 15:22:55 figo-desktop kernel: [ 2107] 1000 2107 1666 142
> > 1 0 0 run-mozilla.sh
> > Jan 4 15:22:55 figo-desktop kernel: [ 2108] 1000 2108 39395 973
> > 0 0 0 gnome-power-man
> > Jan 4 15:22:55 figo-desktop kernel: [ 2109] 1000 2109 7886 709
> > 0 0 0 vino-server
> > Jan 4 15:22:55 figo-desktop kernel: [ 2110] 1000 2110 10764 791
> > 1 0 0 evolution-alarm
> > Jan 4 15:22:55 figo-desktop kernel: [ 2114] 1000 2114 167865 29673
> > 1 0 0 thunderbird-bin
> > Jan 4 15:22:55 figo-desktop kernel: [ 2121] 1000 2121 42098 1965
> > 0 0 0 notify-osd
> > Jan 4 15:22:55 figo-desktop kernel: [ 2125] 1000 2125 42488 1203
> > 1 0 0 cpufreq-applet
> > Jan 4 15:22:55 figo-desktop kernel: [ 2126] 1000 2126 41394 1148
> > 1 0 0 multiload-apple
> > Jan 4 15:22:55 figo-desktop kernel: [ 2129] 1000 2129 64405 1827
> > 0 0 0 mixer_applet2
> > Jan 4 15:22:55 figo-desktop kernel: [ 2131] 1000 2131 75346 2489
> > 0 0 0 clock-applet
> > Jan 4 15:22:55 figo-desktop kernel: [ 2132] 1000 2132 41163 930
> > 1 0 0 notification-ar
> > Jan 4 15:22:55 figo-desktop kernel: [ 2149] 1000 2149 15325 697
> > 1 0 0 e-calendar-fact
> > Jan 4 15:22:55 figo-desktop kernel: [ 2153] 1000 2153 7497 1008
> > 0 0 0 gnome-screensav
> > Jan 4 15:22:55 figo-desktop kernel: [ 2155] 1000 2155 3848 202
> > 1 0 0 pxgconf
> > Jan 4 15:22:55 figo-desktop kernel: [ 2163] 1000 2163 1781 342
> > 0 0 0 mission-control
> > Jan 4 15:22:55 figo-desktop kernel: [ 2173] 1000 2173 4486 428
> > 0 0 0 gvfsd-trash
> > Jan 4 15:22:55 figo-desktop kernel: [ 2186] 0 2186 3543 192
> > 1 0 0 system-tools-ba
> > Jan 4 15:22:55 figo-desktop kernel: [ 2210] 1000 2210 2202 238
> > 0 0 0 gvfsd-burn
> > Jan 4 15:22:55 figo-desktop kernel: [ 2245] 1000 2245 3895 1730
> > 0 0 0 gvfsd-metadata
> > Jan 4 15:22:55 figo-desktop kernel: [ 2274] 1000 2274 22823 424
> > 0 0 0 conky
> > Jan 4 15:22:55 figo-desktop kernel: [ 2281] 0 2281 3295 2278
> > 0 0 0 SystemToolsBack
> > Jan 4 15:22:55 figo-desktop kernel: [ 2663] 1000 2663 68807 3042
> > 1 0 0 gnome-terminal
> > Jan 4 15:22:55 figo-desktop kernel: [ 2683] 1000 2683 451 76
> > 0 0 0 gnome-pty-helpe
> > Jan 4 15:22:55 figo-desktop kernel: [ 2685] 1000 2685 2072 570
> > 0 0 0 bash
> > Jan 4 15:22:55 figo-desktop kernel: [ 2885] 0 2885 1489 119
> > 0 0 0 sudo
> > Jan 4 15:22:55 figo-desktop kernel: [ 2886] 0 2886 6273 355
> > 1 0 0 vim
> > Jan 4 15:22:55 figo-desktop kernel: [ 2887] 1000 2887 472 84
> > 0 0 0 ping
> > Jan 4 15:22:55 figo-desktop kernel: [ 2892] 1000 2892 472 83
> > 1 0 0 ping
> > Jan 4 15:22:55 figo-desktop kernel: [ 2894] 1000 2894 76113 5890
> > 0 0 0 vmware
> > Jan 4 15:22:55 figo-desktop kernel: [ 2919] 1000 2919 51497 3315
> > 1 0 0 vmware-tray
> > Jan 4 15:22:55 figo-desktop kernel: [ 2954] 1000 2954 48676 1589
> > 0 0 0 vmware-unity-he
> > Jan 4 15:22:55 figo-desktop kernel: [ 2988] 1000 2988 190471 42400
> > 0 0 0 vmware-vmx
> > Jan 4 15:22:55 figo-desktop kernel: [ 3207] 1000 3207 4377 362
> > 1 0 0 gvfsd-computer
> > Jan 4 15:22:55 figo-desktop kernel: [ 3211] 1000 3211 9920 509
> > 0 0 0 gvfsd-smb-brows
> > Jan 4 15:22:55 figo-desktop kernel: [ 3217] 1000 3217 9876 569
> > 0 0 0 gvfsd-smb
> > Jan 4 15:22:55 figo-desktop kernel: [15186] 1000 15186 2069 558
> > 1 0 0 bash
> > Jan 4 15:22:55 figo-desktop kernel: [17451] 1000 17451 5679 503
> > 0 0 0 dconf-service
> > Jan 4 15:22:55 figo-desktop kernel: [19085] 1000 19085 1576 149
> > 0 0 0 ssh
> > Jan 4 15:22:55 figo-desktop kernel: [19261] 1000 19261 1682 967
> > 0 0 0 wineserver
> > Jan 4 15:22:55 figo-desktop kernel: [19266] 1000 19266 399085 212
> > 0 0 0 services.exe
> > Jan 4 15:22:55 figo-desktop kernel: [19269] 1000 19269 399117 158
> > 1 0 0 winedevice.exe
> > Jan 4 15:22:55 figo-desktop kernel: [19342] 1000 19342 404518 643
> > 0 0 0 explorer.exe
> > Jan 4 15:22:55 figo-desktop kernel: [19344] 1000 19344 550020 11028
> > 1 0 0 insight3.exe
> > Jan 4 15:22:55 figo-desktop kernel: [ 360] 1000 360 2069 541
> > 1 0 0 bash
> > Jan 4 15:22:55 figo-desktop kernel: [ 9821] 1000 9821 166228 2915
> > 0 0 0 stardict
> > Jan 4 15:22:55 figo-desktop kernel: [14614] 1000 14614 2040 523
> > 1 0 0 bash
> > Jan 4 15:22:55 figo-desktop kernel: [17002] 1000 17002 2069 541
> > 0 0 0 bash
> > Jan 4 15:22:55 figo-desktop kernel: [18612] 0 18612 1536 125
> > 1 0 0 sudo
> > Jan 4 15:22:55 figo-desktop kernel: [18613] 0 18613 1988 608
> > 1 0 0 minicom
> > Jan 4 15:22:55 figo-desktop kernel: [21183] 1000 21183 2041 517
> > 1 0 0 bash
> > Jan 4 15:22:55 figo-desktop kernel: [21194] 1000 21194 1611 125
> > 0 0 0 ssh
> > Jan 4 15:22:55 figo-desktop kernel: [22451] 1000 22451 2069 578
> > 1 0 0 bash
> > Jan 4 15:22:55 figo-desktop kernel: [23428] 1000 23428 6475 554
> > 1 0 0 vim
> > Jan 4 15:22:55 figo-desktop kernel: [23484] 1000 23484 6501 594
> > 1 0 0 vim
> > Jan 4 15:22:55 figo-desktop kernel: [23549] 1000 23549 6501 594
> > 0 0 0 vim
> > Jan 4 15:22:55 figo-desktop kernel: [23642] 1000 23642 9865 594
> > 0 0 0 gvfsd-smb
> > Jan 4 15:22:55 figo-desktop kernel: [26358] 1000 26358 407339 5019
> > 1 0 0 insight3.exe
> > Jan 4 15:22:55 figo-desktop kernel: [29711] 1000 29711 9943 617
> > 0 0 0 gvfsd-smb
> > Jan 4 15:22:55 figo-desktop kernel: [26156] 1000 26156 61269 9179
> > 0 0 0 skype
> > Jan 4 15:22:55 figo-desktop kernel: [32490] 1000 32490 2647 684
> > 0 0 0 gconfd-2
> > Jan 4 15:22:55 figo-desktop kernel: [10622] 1000 10622 2072 725
> > 1 0 0 bash
> > Jan 4 15:22:55 figo-desktop kernel: [10634] 1000 10634 1576 156
> > 0 0 0 ssh
> > Jan 4 15:22:55 figo-desktop kernel: [15410] 1000 15410 76559 12161
> > 0 0 0 evince
> > Jan 4 15:22:55 figo-desktop kernel: [15415] 1000 15415 5490 217
> > 1 0 0 evinced
> > Jan 4 15:22:55 figo-desktop kernel: [16754] 1000 16754 9899 485
> > 0 0 0 gvfsd-smb
> > Jan 4 15:22:55 figo-desktop kernel: [16772] 1000 16772 9900 500
> > 0 0 0 gvfsd-smb
> > Jan 4 15:22:55 figo-desktop kernel: [25390] 1000 25390 407306 2164
> > 1 0 0 insight3.exe
> > Jan 4 15:22:55 figo-desktop kernel: [ 2127] 1000 2127 1609 125
> > 0 0 0 ssh
> > Jan 4 15:22:55 figo-desktop kernel: [10661] 33 10661 4775 1510
> > 1 0 0 httpd
> > Jan 4 15:22:55 figo-desktop kernel: [10662] 33 10662 4823 1569
> > 0 0 0 httpd
> > Jan 4 15:22:55 figo-desktop kernel: [10663] 33 10663 4823 1570
> > 0 0 0 httpd
> > Jan 4 15:22:55 figo-desktop kernel: [10664] 33 10664 4823 1569
> > 0 0 0 httpd
> > Jan 4 15:22:55 figo-desktop kernel: [10665] 33 10665 4823 1569
> > 0 0 0 httpd
> > Jan 4 15:22:55 figo-desktop kernel: [10666] 33 10666 4823 1569
> > 1 0 0 httpd
> > Jan 4 15:22:55 figo-desktop kernel: [32159] 1000 32159 166096 39479
> > 0 0 0 firefox
> > Jan 4 15:22:55 figo-desktop kernel: [32228] 33 32228 4823 1512
> > 0 0 0 httpd
> > Jan 4 15:22:55 figo-desktop kernel: [32233] 33 32233 4857 1596
> > 1 0 0 httpd
> > Jan 4 15:22:55 figo-desktop kernel: [32234] 33 32234 4857 1597
> > 1 0 0 httpd
> > Jan 4 15:22:55 figo-desktop kernel: [32241] 33 32241 4789 1536
> > 1 0 0 httpd
> > Jan 4 15:22:55 figo-desktop kernel: [32246] 33 32246 4789 1536
> > 0 0 0 httpd
> > Jan 4 15:22:55 figo-desktop kernel: [32268] 1000 32268 27543 4279
> > 1 0 0 plugin-containe
> > Jan 4 15:22:55 figo-desktop kernel: [32320] 1000 32320 16230 1445
> > 1 0 0 GoogleTalkPlugi
> > Jan 4 15:22:55 figo-desktop kernel: [ 970] 1000 970 407197 2636
> > 1 0 0 insight3.exe
> > Jan 4 15:22:55 figo-desktop kernel: [ 1240] 1000 1240 601 116
> > 1 0 0 top
> > Jan 4 15:22:55 figo-desktop kernel: [ 2038] 1000 2038 407786 2842
> > 0 0 0 insight3.exe
> > Jan 4 15:22:55 figo-desktop kernel: [12415] 0 12415 543 232
> > 1 -17 -1000 udevd
> > Jan 4 15:22:55 figo-desktop kernel: [12416] 0 12416 580 195
> > 1 -17 -1000 udevd
> > Jan 4 15:22:55 figo-desktop kernel: [13904] 0 13904 1488 219
> > 1 0 0 sudo
> > Jan 4 15:22:55 figo-desktop kernel: [13906] 0 13906 1386 131
> > 0 0 0 swapoff

We don't know what task was killed here, if any, because it's not showing
the "Killed process ... total-vm:...kB, anon-rss:...kB, file--rss:...kB"
line that indicates anything was killed. In fact, your entire log doesn't
show that. minicom simply invoking the oom killer (and Xorg later)
doesn't indicate a problem.

Please post a complete log that shows the tasklist dump and which task was
selected from that state.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/