Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753043AbdDHSJT (ORCPT ); Sat, 8 Apr 2017 14:09:19 -0400 Received: from outbound-smtp06.blacknight.com ([81.17.249.39]:55454 "EHLO outbound-smtp06.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751808AbdDHSJN (ORCPT ); Sat, 8 Apr 2017 14:09:13 -0400 Date: Sat, 8 Apr 2017 19:09:10 +0100 From: Mel Gorman To: Hugh Dickins Cc: Michal Hocko , Andrew Morton , Tejun Heo , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: Is it safe for kthreadd to drain_all_pages? Message-ID: <20170408180910.mtkcvi4vlwg2li6b@techsingularity.net> References: <20170406130614.a6ygueggpwseqysd@techsingularity.net> <20170407163932.GJ16413@dhcp22.suse.cz> <20170407172918.GK16413@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2437 Lines: 53 On Sat, Apr 08, 2017 at 10:04:20AM -0700, Hugh Dickins wrote: > On Fri, 7 Apr 2017, Hugh Dickins wrote: > > On Fri, 7 Apr 2017, Michal Hocko wrote: > > > On Fri 07-04-17 09:58:17, Hugh Dickins wrote: > > > > On Fri, 7 Apr 2017, Michal Hocko wrote: > > > > > On Fri 07-04-17 09:25:33, Hugh Dickins wrote: > > > > > [...] > > > > > > 24 hours so far, and with a clean /var/log/messages. Not conclusive > > > > > > yet, and of course I'll leave it running another couple of days, but > > > > > > I'm increasingly sure that it works as you intended: I agree that > > > > > > > > > > > > mm-move-pcp-and-lru-pcp-drainging-into-single-wq.patch > > > > > > mm-move-pcp-and-lru-pcp-drainging-into-single-wq-fix.patch > > > > > > > > > > > > should go to Linus as soon as convenient. Though I think the commit > > > > > > message needs something a bit stronger than "Quite annoying though". > > > > > > Maybe add a line: > > > > > > > > > > > > Fixes serious hang under load, observed repeatedly on 4.11-rc. > > > > > > > > > > Yeah, it is much less theoretical now. I will rephrase and ask Andrew to > > > > > update the chagelog and send it to Linus once I've got your final go. > > > > > > > > I don't know akpm's timetable, but your fix being more than a two-liner, > > > > I think it would be better if it could get into rc6, than wait another > > > > week for rc7, just in case others then find problems with it. So I > > > > think it's safer *not* to wait for my final go, but proceed on the > > > > assumption that it will follow a day later. > > > > > > Fair enough. Andrew, could you update the changelog of > > > mm-move-pcp-and-lru-pcp-drainging-into-single-wq.patch > > > and send it to Linus along with > > > mm-move-pcp-and-lru-pcp-drainging-into-single-wq-fix.patch before rc6? > > > > > > I would add your Teste-by Hugh but I guess you want to give your testing > > > more time before feeling comfortable to give it. > > > > Yes, fair enough: at the moment it's just > > Half-Tested-by: Hugh Dickins > > and I hope to take the Half- off in about 21 hours. > > But I certainly wouldn't mind if it found its way to Linus without my > > final seal of approval. > > 48 hours and still going well: I declare it good, and thanks to Andrew, > Linus has ce612879ddc7 "mm: move pcp and lru-pcp draining into single wq" > already in for rc6. > Excellent, thanks for that testing. -- Mel Gorman SUSE Labs