From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755041AbdAJDil (ORCPT ); Mon, 9 Jan 2017 22:38:41 -0500 Received: from mail-pf0-f179.google.com ([209.85.192.179]:36443 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752244AbdAJDik (ORCPT ); Mon, 9 Jan 2017 22:38:40 -0500 Date: Mon, 9 Jan 2017 19:38:31 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: David Rientjes cc: Vlastimil Babka , Mel Gorman , Andrew Morton , Michal Hocko , Jonathan Corbet , "Kirill A. Shutemov" , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [patch] mm, thp: add new background defrag option In-Reply-To: Message-ID: References: <20170105101330.bvhuglbbeudubgqb@techsingularity.net> <558ce85c-4cb4-8e56-6041-fc4bce2ee27f@suse.cz> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) 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 Mon, 9 Jan 2017, David Rientjes wrote: > On Mon, 9 Jan 2017, Vlastimil Babka wrote: > > > > Any suggestions for a better name for "background" are more than welcome. > > > > Why not just "madvise+defer"? > > > > Seeing no other activity regarding this issue (omg!), I'll wait a day or > so to see if there are any objections to "madvise+defer" or suggestions > that may be better and repost. I get very confused by the /sys/kernel/mm/transparent_hugepage/defrag versus enabled flags, and this may be a terrible, even more confusing, idea: but I've been surprised and sad to see defrag with a "defer" option, but poor enabled without one; and it has crossed my mind that perhaps the peculiar "madvise+defer" syntax in defrag might rather be handled by "madvise" in defrag with "defer" in enabled? Or something like that: 4 x 4 possibilities instead of 5 x 3. Please be gentle with me, Hugh