From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f197.google.com (mail-qk0-f197.google.com [209.85.220.197]) by kanga.kvack.org (Postfix) with ESMTP id E2B4A6B025F for ; Tue, 25 Jul 2017 15:32:16 -0400 (EDT) Received: by mail-qk0-f197.google.com with SMTP id q1so77002416qkb.3 for ; Tue, 25 Jul 2017 12:32:16 -0700 (PDT) Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com. [2607:f8b0:400d:c09::234]) by mx.google.com with ESMTPS id i43si11509115qtc.237.2017.07.25.12.32.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jul 2017 12:32:16 -0700 (PDT) Received: by mail-qk0-x234.google.com with SMTP id d145so68174744qkc.2 for ; Tue, 25 Jul 2017 12:32:16 -0700 (PDT) Date: Tue, 25 Jul 2017 15:32:14 -0400 From: Josef Bacik Subject: Re: [PATCH v2 19/23] percpu: update alloc path to only scan if contig hints are broken Message-ID: <20170725193213.GS18880@destiny> References: <20170724230220.21774-1-dennisz@fb.com> <20170724230220.21774-20-dennisz@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170724230220.21774-20-dennisz@fb.com> Sender: owner-linux-mm@kvack.org List-ID: To: Dennis Zhou Cc: Tejun Heo , Christoph Lameter , Josef Bacik , linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernel-team@fb.com, Dennis Zhou On Mon, Jul 24, 2017 at 07:02:16PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > Metadata is kept per block to keep track of where the contig hints are. > Scanning can be avoided when the contig hints are not broken. In that > case, left and right contigs have to be managed manually. > > This patch changes the allocation path hint updating to only scan when > contig hints are broken. > > Signed-off-by: Dennis Zhou Reviewed-by: Josef Bacik Thanks, Josef -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754529AbdGYTch (ORCPT ); Tue, 25 Jul 2017 15:32:37 -0400 Received: from mail-qk0-f170.google.com ([209.85.220.170]:37354 "EHLO mail-qk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751568AbdGYTcQ (ORCPT ); Tue, 25 Jul 2017 15:32:16 -0400 Date: Tue, 25 Jul 2017 15:32:14 -0400 From: Josef Bacik To: Dennis Zhou Cc: Tejun Heo , Christoph Lameter , Josef Bacik , linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernel-team@fb.com, Dennis Zhou Subject: Re: [PATCH v2 19/23] percpu: update alloc path to only scan if contig hints are broken Message-ID: <20170725193213.GS18880@destiny> References: <20170724230220.21774-1-dennisz@fb.com> <20170724230220.21774-20-dennisz@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170724230220.21774-20-dennisz@fb.com> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 24, 2017 at 07:02:16PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > Metadata is kept per block to keep track of where the contig hints are. > Scanning can be avoided when the contig hints are not broken. In that > case, left and right contigs have to be managed manually. > > This patch changes the allocation path hint updating to only scan when > contig hints are broken. > > Signed-off-by: Dennis Zhou Reviewed-by: Josef Bacik Thanks, Josef