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 X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF223C47089 for ; Thu, 27 May 2021 10:42:03 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 54060613CC for ; Thu, 27 May 2021 10:42:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 54060613CC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=effective-light.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:39742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmDSk-0001yv-5C for qemu-devel@archiver.kernel.org; Thu, 27 May 2021 06:42:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmDOf-0008MD-Uh; Thu, 27 May 2021 06:37:50 -0400 Received: from mta-05-4.privateemail.com ([68.65.122.25]:20275) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmDOd-0003Fo-Ks; Thu, 27 May 2021 06:37:49 -0400 Received: from MTA-05.privateemail.com (localhost [127.0.0.1]) by MTA-05.privateemail.com (Postfix) with ESMTP id C4BC16004A; Thu, 27 May 2021 06:37:32 -0400 (EDT) Received: from [192.168.0.46] (unknown [10.20.151.221]) by MTA-05.privateemail.com (Postfix) with ESMTPA id C7F6660051; Thu, 27 May 2021 06:37:31 -0400 (EDT) Date: Thu, 27 May 2021 06:37:24 -0400 From: Hamza Mahfooz Subject: Re: [PATCH] linux-user: make process_pending_signals thread-safe To: Peter Maydell Message-Id: In-Reply-To: References: <20210524024655.11115-1-someguy@effective-light.com> X-Mailer: geary/40.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Virus-Scanned: ClamAV using ClamSMTP Received-SPF: pass client-ip=68.65.122.25; envelope-from=someguy@effective-light.com; helo=MTA-05-4.privateemail.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: QEMU Trivial , Laurent Vivier , QEMU Developers Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Thu, May 27 2021 at 11:16:56 AM +0100, Peter Maydell wrote: > If we do want to change from sigprocmask() to pthread_sigmask(), we > should be consistent about doing that, not just change this call > only.) On that note, do you think it would worthwhile to have a Coccinelle script replace all instances of sigprocmask with pthread_sigmask (in linux-user, of course)?