From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761471AbdADVxU (ORCPT ); Wed, 4 Jan 2017 16:53:20 -0500 Received: from mail-pg0-f51.google.com ([74.125.83.51]:34054 "EHLO mail-pg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752948AbdADVxS (ORCPT ); Wed, 4 Jan 2017 16:53:18 -0500 Date: Wed, 4 Jan 2017 13:53:16 -0800 (PST) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Mel Gorman cc: Michal Hocko , Andrew Morton , Jonathan Corbet , "Kirill A. Shutemov" , Vlastimil Babka , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [patch] mm, thp: always direct reclaim for MADV_HUGEPAGE even when deferred In-Reply-To: <20170104101218.x7c5pwf65psy2l52@techsingularity.net> Message-ID: References: <20161222100009.GA6055@dhcp22.suse.cz> <20161230123620.jcuquzof3bpxomdn@techsingularity.net> <20170103103749.fjj6uf27wuqvbnta@techsingularity.net> <20170104101218.x7c5pwf65psy2l52@techsingularity.net> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Jan 2017, Mel Gorman wrote: > There is a slight disconnect. The bug reports I'm aware of predate the > introduction of "defer" and the current "madvise" semantics for defrag. The > current semantics have not had enough time in the field to generate > reports. I expect lag before users are aware of "defer" due to the number > of recommendations out there about blindly disabling THP. This because > the majority of users I deal with are not running mainline kernels. > I find it sad that we need to have five options for thp defrag and that people now need to research options that don't break their userspace and affect all applications on the system, especially when one of those options now appears to have a hypothetical usecase, but in the interest of making forward progress in this area for support that we truly need, I'll reluctantly propose it as a patch.