Re: page order 0 allocation fail but free pages are enough

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> 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?
I apologize for my misunderstanding.
(alloc_flags & ~ALLOC_NO_WATERMARKS) will NOT bypass __zone_watermark_ok.
on the contrary, it will filter out watermarks checking.

there is one thing makes me curious,
why we put  alloc_flags = gfp_to_alloc_flags(gfp_mask) in
__alloc_pages_slowpath  instead of __alloc_pages_nodemask?

Appreciate your kind help,

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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]