From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f74.google.com (mail-wr1-f74.google.com [209.85.221.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF5BC285061 for ; Wed, 18 Jun 2025 10:00:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750240857; cv=none; b=TYYOpL25gdm6Cb7fKsU292ey8sI9Dvw/UFPCWMmA/zBncQME3GP1bZJaGWkJwV38bzMwE5IGQmOGHIysGttl2tW+wMnx91MevFiLtEtK8Uhps70hBJWOb5lLSgfY75pLC0zjPQM7hGGR/o//DojmTAjJhaGnwPUA0u/kQ1qzxDU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750240857; c=relaxed/simple; bh=VN13H3zCDLcqYd40jQvYLahvkzgxzbof0QHpQngN6ys=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=eQaV1lC2SfMwFzEfCtWMJbG8920IeBlwKLYmPKlrrxDPznPpS+xU3HCJZymThnYwBVOQERu1JBuQJeJHRLwVSO9Z0CWe+KHbNRpZ3OesXoJjTYVcrZoqaqGxyndQDLx8ZsPjaXokqQ8TLvE4QQBaSr4D7YnrbNBkujk7guWy4Bs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--jackmanb.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=jGM5EuQ/; arc=none smtp.client-ip=209.85.221.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--jackmanb.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="jGM5EuQ/" Received: by mail-wr1-f74.google.com with SMTP id ffacd0b85a97d-3a5281ba3a4so2290940f8f.0 for ; Wed, 18 Jun 2025 03:00:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1750240854; x=1750845654; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=9gXsKhSThWoiUF4CvpkQnu6NVTTM0tjBOOvGWcPTBWI=; b=jGM5EuQ/3lAZ1jvg1PHda76oGvXfmzV/k1j3feP9IMBoEerD/t4TzZXi1RndF0aMDa q2hGAAiOtoY2Juro9DFjHMrVsba8lmE5mWCck9EDkKNp2JthPVSM5xrASwxqO375fXNy UEJEs3XDH7lv5+8Ct98bn1bfnBMN4ZOR4W9wxAKL3ldMrlM0ozW0psHgUStOjDiemw/2 AkjM+3HzvrPc/UQa7kixMKNvc3OwI8pEzzZM61SgZVsJXdpqjeYZM6T29rGlmOsg1l5G Uca0tiuadTNO1DUSVDKvrQs0YpmO8988F6/5DiFG8faCzfeTh7keGCUwX95a07BMy5mk Rm+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750240854; x=1750845654; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9gXsKhSThWoiUF4CvpkQnu6NVTTM0tjBOOvGWcPTBWI=; b=bTX5hJskBzhCYAO0GgCIy/vPK5DwXV4AztWL2A4uBdAH8P2Hel60NpgzC2jqHLnGvS ICvPa8yHYa8zlUWAtpimaMTgZNLzPR0OIZdJxVSFr1tsyjMOB8RbkK6ydQ4LT2NSpvUe G/M6x4MJCi7angx28i7hM2RppHSIu9a7Mbp9O5OXsxNqzuO5b6VxWCzQoFR+NS9H0d8U zE7mFHOpGj6VUCD2kO+/0x3c95Uc8FcHz4zJ8g/2v2w8oQGJqEGEXN5GKq13Z2qIOY3T M7OP+7m8B8Q/0t15WR/2yN0AlsHW4s/tlN6iwmXW/k96Wueb1oE69Idcm8q3f3zxeOKL nGSw== X-Forwarded-Encrypted: i=1; AJvYcCVIJ+R28AzieX4YSvdmNi+aPRpKxWqL9NDyIrmI2WQcUnvjFGKadCDyUm+P50NfYJKRRraR5WdyUf0pYuutBDU=@vger.kernel.org X-Gm-Message-State: AOJu0YxctJmLUjzxRzPdYnsKL8vY3WWaYXv06lx8FLBKS9auwXqZFlPm 6eRzxSQgTIEP6QNu3f8dT0m4AYePj7dwFkQSjnkeB4xqbjqzStoKq+zvd/GNgA8iRQPHrQkASEw 4rT8bTZ0rxUfgTQ== X-Google-Smtp-Source: AGHT+IEFSgudHg7Y7cHjEgvEWYvKJum1y7AdKSBurV7AIvTuNOuv1zf2A9OMmkY37R7Vx351TJtubM5Ukn5P4Q== X-Received: from wmbdq13.prod.google.com ([2002:a05:600c:64cd:b0:43d:1873:dbaf]) (user=jackmanb job=prod-delivery.src-stubby-dispatcher) by 2002:a5d:5c84:0:b0:3a5:1cc5:4a17 with SMTP id ffacd0b85a97d-3a572e925e1mr13213215f8f.42.1750240851242; Wed, 18 Jun 2025 03:00:51 -0700 (PDT) Date: Wed, 18 Jun 2025 10:00:49 +0000 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250501163827.2598-1-ujwal.kundur@gmail.com> <20250616100406.2853-1-ujwal.kundur@gmail.com> <20250616172618.0609127a8b1e406d4c228d24@linux-foundation.org> X-Mailer: aerc 0.20.1 Message-ID: Subject: Re: [PATCH v5 1/1] selftests/mm/uffd: Refactor non-composite global vars into struct From: Brendan Jackman To: Peter Xu , Andrew Morton Cc: Ujwal Kundur , , , , Content-Type: text/plain; charset="UTF-8" On Tue Jun 17, 2025 at 5:22 PM UTC, Peter Xu wrote: > ERROR: munmap (errno=22, @uffd-common.c:277) Looks the same as what I reported here: https://lore.kernel.org/all/DAITJKYRQMFD.OLOUWS7UPGVD@google.com/ > Ujwal, can you reproduce these issues and have a look? The script I mentioned in that other mail should help with this: https://github.com/bjackman/linux/blob/github-base/.github/scripts/run_local.sh That's my hacky attempt at a "hermetic" runner for these tests, it ought to let you get the exact Kconfig, userspace, and QEMU command that I used when I hit the issue. The GitHub workflow definition shows how to get its dependencies installed on a Debian-alike: https://github.com/bjackman/linux/blob/github-base/.github/workflows/test.yaml