From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A85F83ECBE9 for ; Mon, 27 Apr 2026 17:19:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777310356; cv=none; b=uy70fwO9ywXInNXITBYDXzFPN6STFZPJ+ensk+DmSShzms6p/fEtQEQBqWciYzzRDaLya8gxamktmh51FIi1kKIAc13ZUofmHZ8m+7975MMD+hznLu6iHD6wEekpcNyCKfz4bMT5tDFX5/DjPINAT57qgeduP+urjKz2zgS0jGg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777310356; c=relaxed/simple; bh=In2l17YmJ6Ep0rNa5XbUBPBdP7sHw1ZcXq7yKBqwD98=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PGcuaeoB2Z4NCaG5sJYLyfY+hNrei8+U853LjD+ftCoGCWuJE7YfRxyKuNZm56nSsR7jX8Ciq8rtwfiDxfpIAMqUpZOcazFNuo7e2S/Z31NmNbdjyyGw7szh+g9xyle3jQ74Cur+5TKbTVpDtqZAwYtbz5vfNC1/VYo66FW34Wk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=O+t1K31G; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="O+t1K31G" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1777310352; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SkL75I88AklWMnxS4Gn8bySfx4E22i3sGhBT824tKPk=; b=O+t1K31Gq18dPfFXnt5v6R5Nhh/eFbZcpwj7amMeCK/Bv1DF/6HwZT9O7/rVET7GgVBHxe JfzQPHDd28tl8SiSbiHMpVh31NnIR97fPcCIMV951SuaEeyVFcIq3CX5DnK4cpV9NupEj+ TWAx5kBh+JDPHnxoWoh6zGlOOe2edYM= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-668-qTEEt-oGOxCwAJC5kNfCFw-1; Mon, 27 Apr 2026 13:19:11 -0400 X-MC-Unique: qTEEt-oGOxCwAJC5kNfCFw-1 X-Mimecast-MFC-AGG-ID: qTEEt-oGOxCwAJC5kNfCFw_1777310351 Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-50e2592ea3bso109989051cf.2 for ; Mon, 27 Apr 2026 10:19:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777310350; x=1777915150; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SkL75I88AklWMnxS4Gn8bySfx4E22i3sGhBT824tKPk=; b=hshpK7AswxYbmkZA+YR+s7AiapCxsuYxQP+xOcOCszOfqP8pf66cS4P5BQrse/N8hU qslCvhIEtkORhP2yd8D3qCUb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Zg== X-Received: by 2002:ac8:5a13:0:b0:50d:aa29:2b64 with SMTP id d75a77b69052e-5100c944df7mr2438661cf.33.1777310350394; Mon, 27 Apr 2026 10:19:10 -0700 (PDT) X-Received: by 2002:ac8:5a13:0:b0:50d:aa29:2b64 with SMTP id d75a77b69052e-5100c944df7mr2437961cf.33.1777310349853; Mon, 27 Apr 2026 10:19:09 -0700 (PDT) Received: from [192.168.2.110] (bras-base-aylmpq0104w-grc-53-69-159-169-238.dsl.bell.ca. [69.159.169.238]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-50fc91de051sm130914531cf.2.2026.04.27.10.19.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Apr 2026 10:19:08 -0700 (PDT) Message-ID: <0e2ef2c0-d74e-4aff-bba0-6dd91dbd4e41@redhat.com> Date: Mon, 27 Apr 2026 13:19:07 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 43/53] selftests/mm: migration: add setup of HugeTLB pages To: Mike Rapoport Cc: Andrew Morton , David Hildenbrand , Baolin Wang , Barry Song , Dev Jain , Donet Tom , Jason Gunthorpe , John Hubbard , "Liam R. Howlett" , Lance Yang , Leon Romanovsky , Lorenzo Stoakes , Mark Brown , Michal Hocko , Nico Pache , Peter Xu , Ryan Roberts , Sarthak Sharma , Shuah Khan , Suren Baghdasaryan , Vlastimil Babka , Zi Yan , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org References: <20260418105539.1261536-1-rppt@kernel.org> <20260418105539.1261536-44-rppt@kernel.org> <67d7b067-97a8-4600-a9a6-46f3e797ffed@redhat.com> Content-Language: en-US, en-CA From: Luiz Capitulino In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2026-04-27 12:51, Mike Rapoport wrote: > On Mon, Apr 27, 2026 at 08:56:27AM -0400, Luiz Capitulino wrote: >> On 2026-04-26 06:58, Mike Rapoport wrote: >>>> And there's another issue: when running the migration test individually, >>>> private_anon_htlb gets skipped. I guess it's because the previous test >>>> is restoring the HugeTLB state: >>> >>> It could be. >>> >>> I pushed the updated version that has the fixes for both zombie and >>> signal issues: >>> >>> https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git/log/?h=mm-selftest/v3 >>> >>> Would be great if you can test it in your setup. >> >> This works! Both issues are fixed: the migration test completes w/o >> hanging and when I run it individually all tests run. > > Thanks for confirming! > >> One last question: should we munmap() the mappings in this test? Though >> I understand this goes beyond your series goal. > > We could, but the tests _exit() anyway as a part of kselftest_harness, so > it does not really matter. OK. Just to clarify that I meant exercising the munmap() path, not that we're not freeing resources. But if we know that _exit() is sufficient for this, then it's fine.