lkml.org 
[lkml]   [2008]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] lru_add_drain_all() don't use schedule_on_each_cpu()
Hi Peter,

>> @@ -611,4 +613,8 @@ void __init swap_setup(void)
>> #ifdef CONFIG_HOTPLUG_CPU
>> hotcpu_notifier(cpu_swap_callback, 0);
>> #endif
>> +
>> + vm_wq = create_workqueue("vm_work");
>> + BUG_ON(!vm_wq);
>> +
>> }
>
> While I really hate adding yet another per-cpu thread for this, I don't
> see another way out atm.

Can I ask the reason of your hate?
if I don't know it, making improvement patch is very difficult to me.


> Oleg, Rusty, ego, you lot were discussing a similar extra per-cpu
> workqueue, can we merge these two?


\
 
 \ /
  Last update: 2008-10-26 14:41    [W:0.096 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site