linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* PageBlocks and Migrate Types
@ 2019-08-21 16:53 Pankaj Suryawanshi
  2019-08-22 12:52 ` Michal Hocko
  0 siblings, 1 reply; 6+ messages in thread
From: Pankaj Suryawanshi @ 2019-08-21 16:53 UTC (permalink / raw)
  To: linux-kernel, linux-mm, Michal Hocko, Vlastimil Babka,
	pankaj.suryawanshi

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

Hello,

1. What are Pageblocks and migrate types(MIGRATE_CMA) in Linux memory ?
How many movable/unmovable pages are defined by default?
With 2GB of memory, how many movable and unmovable pages are defined by
default ?
Example - cat /proc/pagetypeinfo :- Kernel Version - 4.14 CPU Architecture
- ARM 32-bit

Page block order: 12
Pages per block:  4096

Free pages count per migrate type at order       0      1      2      3
 4      5      6      7      8      9     10     11     12
Node    0, zone      DMA, type    Unmovable     71    235    137     30
17      7      2      0      0      1      1      0      0
Node    0, zone      DMA, type      Movable      0      1      1      0
 1      0      0      1      0      1      0      3      9
Node    0, zone      DMA, type  Reclaimable      0      0      1      2
 0      0      0      0      1      1      1      1      0
Node    0, zone      DMA, type   HighAtomic      0      0      0      0
 0      0      0      0      0      0      0      0      0
Node    0, zone      DMA, type          CMA      0      0      0      0
 0      0      0      0      0      0      0      0      0
Node    0, zone      DMA, type      Isolate      0      0      0      0
 0      0      0      0      0      0      0      0      0
Node    0, zone  HighMem, type    Unmovable     55     47     16      8
 6      2      1      0      0      0      0      1      0
Node    0, zone  HighMem, type      Movable      0      0      0      0
 0      0      0      0      0      0      0      0      0
Node    0, zone  HighMem, type  Reclaimable      0      0      0      0
 0      0      0      0      0      0      0      0      0
Node    0, zone  HighMem, type   HighAtomic      0      0      0      0
 0      0      0      0      0      0      0      0      0
Node    0, zone  HighMem, type          CMA    261    915    778    204
48     20      5      0      0      0      0      1     13
Node    0, zone  HighMem, type      Isolate      0      0      0      0
 0      0      0      0      0      0      0      0      0


Number of blocks type     Unmovable      Movable  Reclaimable   HighAtomic
         CMA      Isolate

Node 0, zone      DMA           10           14            4            0
         0            0
Node 0, zone  HighMem            3           32            0            0
        57            0


Regards,
Pankaj

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

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

end of thread, other threads:[~2019-08-27  5:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-21 16:53 PageBlocks and Migrate Types Pankaj Suryawanshi
2019-08-22 12:52 ` Michal Hocko
2019-08-22 18:24   ` Pankaj Suryawanshi
2019-08-26  7:04     ` Michal Hocko
2019-08-26 17:05       ` Pankaj Suryawanshi
2019-08-27  5:43         ` Michal Hocko

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