Re: [patch] mm: adjust kswapd nice level for high priority page allocators

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

 



On Tue, 2 Mar 2010, Minchan Kim wrote:

> > Why do you reset nice value which set by set_kswapd_nice?
> 
> My point is that you reset nice value(which is boosted at wakeup_kswapd) to 0
> before calling balance_pgdat. It means kswapd could be rescheduled by nice 0
> before really reclaim happens by balance_pgdat.

wakeup_kswapd() wakes up kswapd at the finish_wait() point so that it has 
the nice value set by set_kswapd_nice() when it calls balance_pgdat(), 
loops, and then sets it back to the default nice level of 0.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]