linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Frequent oom introduced in mainline when migrate_highatomic replace migrate_reserve
@ 2019-06-24  4:43 zhong jiang
  2019-06-24  8:10 ` Michal Hocko
  0 siblings, 1 reply; 9+ messages in thread
From: zhong jiang @ 2019-06-24  4:43 UTC (permalink / raw)
  To: Michal Hocko, Andrea Arcangeli, Hugh Dickins, Minchan Kim,
	Vlastimil Babka
  Cc: Linux Memory Management List, Wangkefeng (Kevin)

Recently,  I  hit an frequent oom issue in linux-4.4 stable with less than 4M free memory after
the machine boots up.

As the process is created,  kernel stack will use the higher order to allocate continuous memory.
Due to the fragmentabtion,  we fails to allocate the memory.   And the low memory will result
in hardly memory compction.  hence,  it will easily to reproduce the oom.

But if we use migrate_reserve to reserve at least a pageblock at  the boot stage.   we can use
the reserve memory to allocate continuous memory for process when the system is under
severerly fragmentation.

In my opinion,  Reserve  memory will relieve the pressure effectively at least in small memroy machine.

Any ideas? Thanks

 


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-06-25 10:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-24  4:43 Frequent oom introduced in mainline when migrate_highatomic replace migrate_reserve zhong jiang
2019-06-24  8:10 ` Michal Hocko
2019-06-24 13:11   ` zhong jiang
2019-06-24 14:01     ` Michal Hocko
2019-06-24 15:28       ` zhong jiang
2019-06-24 16:47       ` zhong jiang
2019-06-24 17:54         ` Michal Hocko
2019-06-25  2:52           ` zhong jiang
2019-06-25 10:36             ` Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).