Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1634213
| From | Michal Hocko <mhocko@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] vmscan: scan pages until it founds eligible pages |
| Date | 2017-05-02 10:00 +0200 |
| Message-ID | <tCAT0-3Gp-21@gated-at.bofh.it> (permalink) |
| References | <tCyo9-21P-3@gated-at.bofh.it> <tCyo9-21P-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue 02-05-17 14:14:52, Minchan Kim wrote: > Oops, forgot to add lkml and linux-mm. > Sorry for that. > Send it again. > > >From 8ddf1c8aa15baf085bc6e8c62ce705459d57ea4c Mon Sep 17 00:00:00 2001 > From: Minchan Kim <minchan@kernel.org> > Date: Tue, 2 May 2017 12:34:05 +0900 > Subject: [PATCH] vmscan: scan pages until it founds eligible pages > > On Tue, May 02, 2017 at 01:40:38PM +0900, Minchan Kim wrote: > There are premature OOM happening. Although there are a ton of free > swap and anonymous LRU list of elgible zones, OOM happened. > > With investigation, skipping page of isolate_lru_pages makes reclaim > void because it returns zero nr_taken easily so LRU shrinking is > effectively nothing and just increases priority aggressively. > Finally, OOM happens. I am not really sure I understand the problem you are facing. Could you be more specific please? What is your configuration etc... > balloon invoked oom-killer: gfp_mask=0x17080c0(GFP_KERNEL_ACCOUNT|__GFP_ZERO|__GFP_NOTRACK), nodemask=(null), order=0, oom_score_adj=0 [...] > Node 0 active_anon:1698864kB inactive_anon:261256kB active_file:208kB inactive_file:184kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:532kB dirty:108kB writeback:0kB shmem:172kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no > DMA free:7316kB min:32kB low:44kB high:56kB active_anon:8064kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB slab_reclaimable:464kB slab_unreclaimable:40kB kernel_stack:0kB pagetables:24kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB > lowmem_reserve[]: 0 992 992 1952 > DMA32 free:9088kB min:2048kB low:3064kB high:4080kB active_anon:952176kB inactive_anon:0kB active_file:36kB inactive_file:0kB unevictable:0kB writepending:88kB present:1032192kB managed:1019388kB mlocked:0kB slab_reclaimable:13532kB slab_unreclaimable:16460kB kernel_stack:3552kB pagetables:6672kB bounce:0kB free_pcp:56kB local_pcp:24kB free_cma:0kB > lowmem_reserve[]: 0 0 0 959 Hmm DMA32 has sufficient free memory to allow this order-0 request. Inactive anon lru is basically empty. Why do not we rotate a really large active anon list? Isn't this the primary problem? I haven't really looked at the patch deeply yet. It looks quite scary at first sight though. I would really like to understand what exactly is going on here before we move to a patch to fix it. Thanks! -- Michal Hocko SUSE Labs
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH] vmscan: scan pages until it founds eligible pages Minchan Kim <minchan@kernel.org> - 2017-05-02 07:20 +0200
Re: [PATCH] vmscan: scan pages until it founds eligible pages Michal Hocko <mhocko@kernel.org> - 2017-05-02 10:00 +0200
Re: [PATCH] vmscan: scan pages until it founds eligible pages Minchan Kim <minchan@kernel.org> - 2017-05-02 17:00 +0200
Re: [PATCH] vmscan: scan pages until it founds eligible pages Michal Hocko <mhocko@kernel.org> - 2017-05-02 17:20 +0200
Re: [PATCH] vmscan: scan pages until it founds eligible pages Minchan Kim <minchan@kernel.org> - 2017-05-03 06:50 +0200
Re: [PATCH] vmscan: scan pages until it founds eligible pages Michal Hocko <mhocko@kernel.org> - 2017-05-03 08:10 +0200
Re: [PATCH] vmscan: scan pages until it founds eligible pages Minchan Kim <minchan@kernel.org> - 2017-05-10 03:50 +0200
Re: [PATCH] vmscan: scan pages until it founds eligible pages Michal Hocko <mhocko@kernel.org> - 2017-05-10 08:20 +0200
Re: [PATCH] vmscan: scan pages until it founds eligible pages Minchan Kim <minchan@kernel.org> - 2017-05-10 09:10 +0200
Re: [PATCH] vmscan: scan pages until it founds eligible pages Michal Hocko <mhocko@kernel.org> - 2017-05-10 09:30 +0200
csiph-web