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

How zone_balane_ratio is decided?



Hello there,
   In a code of zone allocator free_area_init_core() minimum pages, low pages and high pages for any zone are decided using

mask = realpages/zone_balance_ratio
minpages=mask
low pages=2*mask 
high pages=3*mask

how zone balance ratio is decided for each zone? What is its significance? Please tell as soon as possible. I am unable to go further reading code. 
 Thanking you in anticipation

- Amey 

--
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/