Messages in this thread | | | Date | Tue, 15 Dec 2009 21:44:10 -0500 | From | Rik van Riel <> | Subject | Re: [PATCH 4/8] Use prepare_to_wait_exclusive() instead prepare_to_wait() |
| |
On 12/15/2009 07:48 PM, KOSAKI Motohiro wrote:
> if we really need wait a bit, Mike's wake_up_batch is best, I think. > It mean > - if another CPU is idle, wake up one process soon. iow, it don't > make meaningless idle. > - if another CPU is busy, woken process don't start to run awhile. > then, zone_watermark_ok() can calculate correct value.
Agreed, that should work great.
-- All rights reversed.
| |