Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 421853
Collapse All | Expand All

(-)a/mm/page-writeback.c (-1 / +1 lines)
Lines 1568-1573 void writeback_set_ratelimit(void) Link Here
1568
	unsigned long background_thresh;
1568
	unsigned long background_thresh;
1569
	unsigned long dirty_thresh;
1569
	unsigned long dirty_thresh;
1570
	global_dirty_limits(&background_thresh, &dirty_thresh);
1570
	global_dirty_limits(&background_thresh, &dirty_thresh);
1571
	global_dirty_limit = dirty_thresh;
1571
	ratelimit_pages = dirty_thresh / (num_online_cpus() * 32);
1572
	ratelimit_pages = dirty_thresh / (num_online_cpus() * 32);
1572
	if (ratelimit_pages < 16)
1573
	if (ratelimit_pages < 16)
1573
		ratelimit_pages = 16;
1574
		ratelimit_pages = 16;
1574
- 

Return to bug 421853