linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* How cma allocation works ?
@ 2019-08-21 17:28 Pankaj Suryawanshi
  2019-08-22 13:02 ` Michal Hocko
  0 siblings, 1 reply; 5+ messages in thread
From: Pankaj Suryawanshi @ 2019-08-21 17:28 UTC (permalink / raw)
  To: linux-kernel, linux-mm, Michal Hocko, Vlastimil Babka,
	pankaj.suryawanshi

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

Hello,

Hard time to understand cma allocation how differs from normal allocation ?

I know theoretically how cma works.

1. How it reserved the memory (start pfn to end pfn) ? what is bitmap_*
functions ?
2. How alloc_contig_range() works ? it isolate all the pages including
unevictable pages, what is the practical work flow ? all this works with
virtual pages or physical pages ?
3.what start_isolate_page_range() does ?
4. what alloc_contig_migrate_range does() ?
5.what isolate_migratepages_range(), reclaim_clean_pages_from_list(),
 migrate_pages() and shrink_page_list() is doing ?

Please let me know the flow with simple example.

Regards,
Pankaj

[-- Attachment #2: Type: text/html, Size: 727 bytes --]

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

end of thread, other threads:[~2019-08-26 17:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-21 17:28 How cma allocation works ? Pankaj Suryawanshi
2019-08-22 13:02 ` Michal Hocko
2019-08-22 18:47   ` Pankaj Suryawanshi
2019-08-26  7:25     ` Michal Hocko
2019-08-26 17:11       ` Pankaj Suryawanshi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox