From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C11EFA3740 for ; Mon, 31 Oct 2022 10:39:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E5D706B0071; Mon, 31 Oct 2022 06:39:33 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E0C466B0073; Mon, 31 Oct 2022 06:39:33 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CD32E6B0074; Mon, 31 Oct 2022 06:39:33 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id A38566B0071 for ; Mon, 31 Oct 2022 06:39:33 -0400 (EDT) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 3A608C0338 for ; Mon, 31 Oct 2022 10:39:33 +0000 (UTC) X-FDA: 80080898226.04.7261C76 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf24.hostedemail.com (Postfix) with ESMTP id C58A2180007 for ; Mon, 31 Oct 2022 10:39:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667212772; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cwQbr9BdK0i32s4Jk8bFMXecnhJpNw7OYks3hEFf7dM=; b=b6s6QAIPaptlfaxMkwMmoV18TArR0/u1rrAamK6aUiTNhkY09Uqle1dpiZw4+UZYy8reRS 8JHylP08CYmTJKsxF6irHBNBwASVzBoS622Q91B9sukBnBJbjz3MnExQsurP7UGllwYdON e0nQ/GRyGw9DjfOQfGtG//tuvzOozSU= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-640-JO0mQ3yHP4SMrgkIAyEayQ-1; Mon, 31 Oct 2022 06:39:31 -0400 X-MC-Unique: JO0mQ3yHP4SMrgkIAyEayQ-1 Received: by mail-wr1-f70.google.com with SMTP id m24-20020adfa3d8000000b00236774fd74aso2903775wrb.8 for ; Mon, 31 Oct 2022 03:39:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cwQbr9BdK0i32s4Jk8bFMXecnhJpNw7OYks3hEFf7dM=; b=g9VkRLUL+U8shuf9Qb3Qi2CosHAzioQr4Fc6n2OOJF+PGbv+1cMHmBLOAgxExjto7c 73sdfgUwc/CWbaVDiDGtQtFK2iNj6KTjcg5cd0vVESIY3b6QOm1puT+287D/8dq8d3Or ccFwYwCpFZYeceyemUB/QDluynjeJ1aO2EHfyPR0NJNK3PmCXQkzo3BMyMsdfGuSiNKm aGUx8vy3VoKX+Em8I4rxyAPBrnEDc/6YpzyGev7OQdprpjntWXuDSuYku1h4/KYTYIqA beGzsu0hdn8kK5NiPYqoO9cyLZ3FNwxc//34QPFsK2QTe+wPJZCKcMkzNFlEWw/78CQD Ia3Q== X-Gm-Message-State: ACrzQf2mg4a5lOXDcytbZGcgmc0pfpp+UivM86TDU8/cZD8V8715jt0P olLloSS3Nd9ejEF9KmHEQ11pSTz8zy0L6pfjGM3lnsE/2lD0l49Se0QFdtG2i2izCU4lrnIFdZI fUbHp8Y6eS9o= X-Received: by 2002:adf:a31c:0:b0:236:ba0d:246b with SMTP id c28-20020adfa31c000000b00236ba0d246bmr5590711wrb.448.1667212769844; Mon, 31 Oct 2022 03:39:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5cDFBtGcZeB1gnxp+nZotPX4x5k2Z8WuRl89Ims68z4R+CyOU6lbl0i2nXWjP4Ua0Rj6KynA== X-Received: by 2002:adf:a31c:0:b0:236:ba0d:246b with SMTP id c28-20020adfa31c000000b00236ba0d246bmr5590694wrb.448.1667212769517; Mon, 31 Oct 2022 03:39:29 -0700 (PDT) Received: from ?IPV6:2003:cb:c705:b300:ab9a:1f1f:ddaf:3b1d? (p200300cbc705b300ab9a1f1fddaf3b1d.dip0.t-ipconnect.de. [2003:cb:c705:b300:ab9a:1f1f:ddaf:3b1d]) by smtp.gmail.com with ESMTPSA id g14-20020a05600c4ece00b003cf7292c553sm2202193wmq.13.2022.10.31.03.39.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Oct 2022 03:39:29 -0700 (PDT) Message-ID: <68bf7829-0e63-de97-c8f1-4f516c67912a@redhat.com> Date: Mon, 31 Oct 2022 11:39:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH v3 3/5] memblock tests: add bottom-up NUMA tests for memblock_alloc_exact_nid_raw To: Rebecca Mckeever , Mike Rapoport , linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <3ff61f3f8ae28082e5d28e469040216e707e6690.1666203643.git.remckee0@gmail.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <3ff61f3f8ae28082e5d28e469040216e707e6690.1666203643.git.remckee0@gmail.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1667212772; a=rsa-sha256; cv=none; b=T53MfHZkqKZHvSo6ie+gzLmGkoNF9lShM14Pk3TLZC201uQWwqQBTVfkZeuioNEsyt5u0l ax3JZPmEqYzxFxvlxdBt0dMRpciTcgRoz2ojWzcmE+snVrrFA+aQM71dc2T3l75YFOWHFn gYevqcbOJ8KAXPdv6bxfBoJEJ63e2jo= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=b6s6QAIP; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf24.hostedemail.com: domain of david@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=david@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1667212772; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=cwQbr9BdK0i32s4Jk8bFMXecnhJpNw7OYks3hEFf7dM=; b=sd9kWANPehx9KTfXoAzzo5H0OoXzbU49KMAbhh2ivokGOZOqwaeMviE9DJKSgeIRCz5IM3 TLaRTeI/WPR6iBbICNXsXa9qgMa3hXRz9ySb2D90H24debMshh5pfhj+upE5QkPY/qS8T+ AVLYojlUgTajUwwAx083TNFwo9FoW8g= X-Rspam-User: Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=b6s6QAIP; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf24.hostedemail.com: domain of david@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=david@redhat.com X-Stat-Signature: 1wbhss8f3y3dfhwiamfqqijqzwkzwd7x X-Rspamd-Queue-Id: C58A2180007 X-Rspamd-Server: rspam06 X-HE-Tag: 1667212772-265563 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 19.10.22 20:34, Rebecca Mckeever wrote: > Add tests for memblock_alloc_exact_nid_raw() where the simulated physical > memory is set up with multiple NUMA nodes. Additionally, all of these > tests set nid != NUMA_NO_NODE. These tests are run with a bottom-up > allocation direction. > > The tested scenarios are: > > Range unrestricted: > - region can be allocated in the specific node requested: > + there are no previously reserved regions > + the requested node is partially reserved but has enough space > > Range restricted: > - region can be allocated in the specific node requested after dropping > min_addr: > + range partially overlaps with two different nodes, where the > first node is the requested node > + range partially overlaps with two different nodes, where the > requested node ends before min_addr > + range overlaps with multiple nodes along node boundaries, and > the requested node ends before min_addr > > Signed-off-by: Rebecca Mckeever > --- Acked-by: David Hildenbrand -- Thanks, David / dhildenb