Message ID | 20241018171734.2315053-1-edliaw@google.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 29443D3DEA0 for <linux-mm@archiver.kernel.org>; Fri, 18 Oct 2024 17:18:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8EB3F6B007B; Fri, 18 Oct 2024 13:18:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 89BAE6B0082; Fri, 18 Oct 2024 13:18:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7634B6B0083; Fri, 18 Oct 2024 13:18:04 -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 532946B007B for <linux-mm@kvack.org>; Fri, 18 Oct 2024 13:18:04 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id CB897AAC42 for <linux-mm@kvack.org>; Fri, 18 Oct 2024 17:17:39 +0000 (UTC) X-FDA: 82687380342.01.946E461 Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.201]) by imf08.hostedemail.com (Postfix) with ESMTP id 7C3C616000B for <linux-mm@kvack.org>; Fri, 18 Oct 2024 17:17:54 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=iiTH7s45; spf=pass (imf08.hostedemail.com: domain of 3SJgSZwYKCAMhgoldzjrrjoh.frpolqx0-ppnydfn.ruj@flex--edliaw.bounces.google.com designates 209.85.215.201 as permitted sender) smtp.mailfrom=3SJgSZwYKCAMhgoldzjrrjoh.frpolqx0-ppnydfn.ruj@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1729271807; a=rsa-sha256; cv=none; b=lnFW/mBVQs+c6sDhGOXklwtoFBbLYTVv0vbt27YZHYLcMj4FOAewvSNsOpfL4nm60AJHpY rJ60xD+7inyM8dCwLUXRhzzzfLesKn0ah5LNCOtnmjjZETUTTRVxdvk/KKFUM1z1y5VdIe W8OrJmJLok6quEBg7VvNrrhCYZDsjQU= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=iiTH7s45; spf=pass (imf08.hostedemail.com: domain of 3SJgSZwYKCAMhgoldzjrrjoh.frpolqx0-ppnydfn.ruj@flex--edliaw.bounces.google.com designates 209.85.215.201 as permitted sender) smtp.mailfrom=3SJgSZwYKCAMhgoldzjrrjoh.frpolqx0-ppnydfn.ruj@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1729271807; h=from:from:sender: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:in-reply-to: references:dkim-signature; bh=fTNVYPiWjX5aJw3gbHhx/dfN4r2wbZRz9L5hpyoPWtU=; b=SMH8FI80cj87WNpWqkVkShpN6cOjk+s0w8r3BCoo9uU9nX+byDMvTQVP2GuF0+jA6w2aH2 jbFj32oKxW0MMqTkxbX/vVVICNDudb8fyIVFKBPTJvuvIiEwnELPsPo1RPkfkUJT83w/bc Vpn4ZAjsnwF2C46/iWCR1s3pB/nU9dw= Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-7e9fb5352dfso2572798a12.3 for <linux-mm@kvack.org>; Fri, 18 Oct 2024 10:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1729271881; x=1729876681; darn=kvack.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=fTNVYPiWjX5aJw3gbHhx/dfN4r2wbZRz9L5hpyoPWtU=; b=iiTH7s45KcZpJ8GI/tJOYAD4gSyGBDnLQAFP/15LjDeU99dsOIxarmDQl8ucf8HQKB 4nXMxJguQC+cvXe/ykuEUsngP4tSHBI0l8ZY8GO7ztOKxsKgGkJzW+sHIW11S+L/5H2k iwoSlXCkqi+JaiAs1fRxAp9OUFLFdvpulMuwormXhoulZQjgy0Jebkn3NmQoS0GaQySw tFrXSCDrzUGM47eqcYWp6zVl9gfQW76PaMpUT18owkeyHEPZmPLuF29P9B2/pasR9f4V DEmJRcwkx4f0/P1S0Ny+sdVNwLLWftIWLS6T2Nzvk8Z6fW3xD2Weob88vytgN9vZyY9X WaoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729271881; x=1729876681; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fTNVYPiWjX5aJw3gbHhx/dfN4r2wbZRz9L5hpyoPWtU=; b=J7eTffG4G6KjLCovFS44SeeC6OMoUW+zcYBK/k4sP+yLDnDfpRnNsz9kdhhBJFiY6R b/L5Oebard3pFPVLG0sp3R/vsFmh0PB413/xX/0Xgp3wYn3ouStK3ZsRJqSsTpiFU3R2 1Vpf8gxlbsPSKPOEoj2N9V4835NPwpACwxWPlEU9QfPIlFKPhsalge5DbbNyUaHjRe4j 8moTxGnowjKI0sqF6Gc52mJqRIsPqb7k/6GR7+x0zMwVnDUFrCBDe2c98oMvwJdC2xPq 5oyNdIl7pyrrhjTKs5+UPS5n26Jhl/OZJFgkV4iGcox0jTO0UYUu7cjqJ385iFOMS8z2 r5eQ== X-Forwarded-Encrypted: i=1; AJvYcCUxGHZdhY3Rlh6LXNmLfdSqvrw+d35F3xvHqIinn5x38RjRoEcOnjb9mXmJkckFwLb915SGP1yc0g==@kvack.org X-Gm-Message-State: AOJu0YyBJnBfk9+iYyDzBD0YmqodXeVqmnXSEDLhuwSogyCiMItynNPL aONlgtpRRmBIEZB3SsKvQ/vrmw7pWbyhALp4JHUWfqFwoWod9yL/xHPaUwXl6UMBxqNcjSn5SRY uiw== X-Google-Smtp-Source: AGHT+IGUfl9GQSQppEfYTWqLUY/W6PAOeXf37xtPPG6ChQb9EBzsCyY3TVPop9oY9SIr1FcimBbACvDURRc= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:9552:0:b0:7db:1b12:5e08 with SMTP id 41be03b00d2f7-7eacc6fcf3emr3491a12.4.1729271880505; Fri, 18 Oct 2024 10:18:00 -0700 (PDT) Date: Fri, 18 Oct 2024 17:17:21 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.47.0.105.g07ac214952-goog Message-ID: <20241018171734.2315053-1-edliaw@google.com> Subject: [PATCH 0/3] selftests/mm: revert pthread_barrier change and From: Edward Liaw <edliaw@google.com> To: linux-kselftest@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>, Shuah Khan <shuah@kernel.org>, Edward Liaw <edliaw@google.com>, Peter Xu <peterx@redhat.com> Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, linux-mm@kvack.org Content-Type: text/plain; charset="UTF-8" X-Stat-Signature: 74nq51b7yefs6eijukeszghitogehgcy X-Rspamd-Queue-Id: 7C3C616000B X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1729271874-93195 X-HE-Meta: U2FsdGVkX1/RhsT5ajKBR2CBIUNNs4ktFFB5lCpVLoTLVABuleQV/FEAjEkvbZQ9ucM77/5Nkc3zLOnrVpiFG/YzxfNM8c40H2kWEtgOpUHAqgsPNpXR5ydBXM13B1A0L2Wno7MpuvG+Ed0t6rO5ptrtSQI5bXzMtox9tSrMAKvGylrMo4cczr+gw9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TUyytESRKTXAgCRe/oQIegdMUKp2aYJNyQS2V3CoEVtk6OrtEIn2dNlI4dlNh8hyp2V1wSTZaQolRoegWfWBrvnTs/RZNeZN4nFRvP8FEHQdtN/Cv+2Z9giqm6myv7KUSNmXyH7aB5imZ0F6JlmpZZQUCQD0X3jjAqy3a9fiffpl8s+BFSCvCymYYfjDbpPeCHdbwShR5w7hPiyixCx5lrZO6uTHTOShmbRSAV8t43CmsI97AvDp1AssGfqf9g/ljZhy2a62xMO90F7cdABUga1pBMqh80BWy5oNddEjVD//6g/xmj3GwAFFuiy4FnDEjFkLUIx X-Bogosity: Ham, tests=bogofilter, spamicity=0.002134, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series | selftests/mm: revert pthread_barrier change and | expand |
On Fri, 18 Oct 2024 17:17:21 +0000 Edward Liaw <edliaw@google.com> wrote: > Subject: [PATCH 0/3] selftests/mm: revert pthread_barrier change and I simply removed the " and". > Date: Fri, 18 Oct 2024 17:17:21 +0000 > X-Mailer: git-send-email 2.47.0.105.g07ac214952-goog > > On Android arm, pthread_create followed by a fork caused a deadlock in > the case where the fork required work to be completed by the created > thread. > > The previous patches incorrectly assumed that the parent would > always initialize the pthread_barrier for the child thread. This > reverts the change and replaces the fix for wp-fork-with-event with the > original use of atomic_bool. > > Edward Liaw (3): > Revert "selftests/mm: fix deadlock for fork after pthread_create on > ARM" > Revert "selftests/mm: replace atomic_bool with pthread_barrier_t" > selftests/mm: fix deadlock for fork after pthread_create with > atomic_bool I added cc:stable to the first two patches as the thing-being-reverted was cc:stable.