Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5263277ybi; Tue, 30 Jul 2019 17:21:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgdtkzdkRX66ppcu7l0wTfR8jI2JkC8px/KQ7Z7BGQxfn9D9MFdy3nwcapiJyLtnhJS6Hg X-Received: by 2002:a17:90a:2a08:: with SMTP id i8mr13645pjd.1.1564532482911; Tue, 30 Jul 2019 17:21:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564532482; cv=none; d=google.com; s=arc-20160816; b=zEiu21g6n6oodXB1zpC3kU0FcZIaueUZ0PQ7wy5ATdwxex1cBUpFgyYVKWA252cHjr bCIVOT8LdSajhAU/Y4/NDFznbWy2n5EE7LVWGAJOf4ngttjVZYh+3RFQl9zhxaRyrT4e 96fk0SNR2R/Nfk8mbvjpBM4GeNkqjLl7DeC/8l6uOGPLmMe7oxJYcdWleH1btTc2Q4IJ Nyo1KCF4G7ap/wKT+hv64jJDimbAtNx0ejODYTxfPS8SM7cJMvTZBPn1InHnGUFUTWF/ FycnQhcMyLX+06JYuqXbSzuIAes7Nf3hEc0qTkoJwnGQnw0y91VbOc/d3uNnHMNLq5u9 0tEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject:reply-to; bh=AQje2eslb6+1bPKbEKc3pMWY+XwJfBV5xteV3OLGnHE=; b=MSQmGYx2a3ZnGegjkq17FSS583XYuaRBhreGdLV5uoWo2o5QIrROLW78odOzouTJyS eM7rLPkqdPzuhPlDF7oyWjH5lgn1NS7RszqO2Qtfof2Bg31FUCjdHgdsC3C+CuiRtFbM 9p9HnZwqTR1uKCcc8vV/tY4UDmKIK/kzlbDfBSV61S0U55VCnIfBIBto9jSv3523VMYN jJM4vlASr6gNiKqAlqw0PnXkyit8lk5lq+2YmkT0O5oZqI4znjs7iUiyA+Ik5o9zgcpU QCGVPVjNSfS1e/UYbUpqLIsWDI2rknjsvfv8TwHUpdqLI1bzpLqSpILNw/CeQ/xVoLTl F3HA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g13si31477405pfo.22.2019.07.30.17.21.08; Tue, 30 Jul 2019 17:21:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388206AbfG3WkG (ORCPT + 99 others); Tue, 30 Jul 2019 18:40:06 -0400 Received: from mga04.intel.com ([192.55.52.120]:25382 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729318AbfG3WkF (ORCPT ); Tue, 30 Jul 2019 18:40:05 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jul 2019 15:40:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,327,1559545200"; d="scan'208";a="162868018" Received: from linux.intel.com ([10.54.29.200]) by orsmga007.jf.intel.com with ESMTP; 30 Jul 2019 15:40:05 -0700 Received: from [10.54.74.33] (skuppusw-desk.jf.intel.com [10.54.74.33]) by linux.intel.com (Postfix) with ESMTP id 52A6E58060A; Tue, 30 Jul 2019 15:40:05 -0700 (PDT) Reply-To: sathyanarayanan.kuppuswamy@linux.intel.com Subject: Re: [PATCH v1 1/1] mm/vmalloc.c: Fix percpu free VM area search criteria To: Uladzislau Rezki Cc: Dave Hansen , akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20190729232139.91131-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20190730204643.tsxgc3n4adb63rlc@pc636> <9fdd44c2-a10e-23f0-a71c-bf8f3e6fc384@linux.intel.com> <20190730223400.hzsyjrxng2s5gk4u@pc636> From: sathyanarayanan kuppuswamy Organization: Intel Message-ID: <63e48375-afa4-4ab6-240d-1633d7cc9ea4@linux.intel.com> Date: Tue, 30 Jul 2019 15:37:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190730223400.hzsyjrxng2s5gk4u@pc636> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/30/19 3:34 PM, Uladzislau Rezki wrote: > Hello, Sathyanarayanan. > >> I agree with Dave. I don't think this issue is related to NUMA. The problem >> here is about the logic we use to find appropriate vm_area that satisfies >> the offset and size requirements of pcpu memory allocator. >> >> In my test case, I can reproduce this issue if we make request with offset >> (ffff000000) and size (600000). >> > Just to clarify, does it mean that on your setup you have only one area with the > 600000 size and 0xffff000000 offset? No, its 2 areas. with offset (0, ffff000000) and size (a00000, 600000). > > Thank you. > > -- > Vlad Rezki > -- Sathyanarayanan Kuppuswamy Linux kernel developer