linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: yoma sophian <sophian.yoma@gmail.com>
To: Michal Hocko <mhocko@kernel.org>
Cc: linux-mm@kvack.org
Subject: Re: page order 0 allocation fail but free pages are enough
Date: Tue, 24 May 2016 23:06:52 +0800	[thread overview]
Message-ID: <CADUS3om92UNPrwji7A_M6W-YPM2zjO9j6uPJ=c3vtVwUzrg_WA@mail.gmail.com> (raw)
In-Reply-To: <20160524115049.GH8259@dhcp22.suse.cz>

hi Michal:

>> Normal free:56088kB min:2000kB low:2500kB high:3000kB
>> active_anon:148332kB inactive_anon:6040kB active_file:1356kB
>> inactive_file:5240kB unevictable:0kB isolated(anon):0kB
>> isolated(file):0kB present:329728kB managed:250408kB mlocked:0kB
>> dirty:120kB writeback:0kB mapped:8108kB shmem:6136kB
>> slab_reclaimable:5520kB slab_unreclaimable:26128kB kernel_stack:2720kB
>> pagetables:4424kB unstable:0kB bounce:0kB free_cma:55452kB
>
> free-free_cma = 636kB so you are way below the watermark and that is
After tracing the __alloc_pages_slowpath, in the 2nd time we call
get_page_from_freelist, we will purposely put alloc_flags &
~ALLOC_NO_WATERMARKS.
Doesn't that mean kernel will bypass __zone_watermark_ok?

Sincerely appreciate your kind help ^^

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2016-05-24 15:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-23  6:47 yoma sophian
2016-05-23 14:47 ` Michal Hocko
2016-05-23 15:31   ` yoma sophian
2016-05-23 19:00     ` Michal Hocko
2016-05-24 11:40       ` yoma sophian
2016-05-24 11:50         ` Michal Hocko
2016-05-24 15:06           ` yoma sophian [this message]
2016-05-25  2:11             ` yoma sophian
2016-05-25  6:31               ` Michal Hocko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADUS3om92UNPrwji7A_M6W-YPM2zjO9j6uPJ=c3vtVwUzrg_WA@mail.gmail.com' \
    --to=sophian.yoma@gmail.com \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox