Re: [RFC PATCH 1/1 v2] vmscan: Support multiple kswapd threads per node

From: Buddy Lumpkin
Date: Tue Apr 10 2018 - 17:38:16 EST



> On Apr 6, 2018, at 12:38 AM, Michal Hocko <mhocko@xxxxxxxxxx> wrote:
>
> On Thu 05-04-18 23:25:14, Buddy Lumpkin wrote:
>>
>>> On Apr 4, 2018, at 11:10 PM, Michal Hocko <mhocko@xxxxxxxxxx> wrote:
>>>
>>> On Wed 04-04-18 21:49:54, Buddy Lumpkin wrote:
>>>> v2:
>>>> - Make update_kswapd_threads_node less racy
>>>> - Handle locking for case where CONFIG_MEMORY_HOTPLUG=n
>>>
>>> Please do not repost with such a small changes. It is much more
>>> important to sort out the big picture first and only then deal with
>>> minor implementation details. The more versions you post the more
>>> fragmented and messy the discussion will become.
>>>
>>> You will have to be patient because this is a rather big change and it
>>> will take _quite_ some time to get sorted.
>>>
>>> Thanks!
>>> --
>>> Michal Hocko
>>> SUSE Labs
>>>
>>
>>
>> Sorry about that, I actually had three people review my code internally,
>> then I managed to send out an old version. 100% guilty of submitting
>> code when I needed sleep. As for the change, that was in response
>> to a request from Andrew to make the update function less racy.
>>
>> Should I resend a correct v2 now that the thread exists?
>
> Let's just discuss open questions for now. Specifics of the code are the
> least interesting at this stage.
>
> If you want some help with the code review, you can put it somewhere in
> the git tree and send a reference for those who are interested.
> --
> Michal Hocko
> SUSE Labs

Ok, I will go back through the thread and make sure all questions and
concerns have been addressed.