Re: page order 0 allocation fail but free pages are enough
From: yoma sophian <hidden>
Date: 2016-05-24 15:06:53
hi Michal:
quoted
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:55452kBfree-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>