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=-4.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 CD2C5C433DF for ; Wed, 15 Jul 2020 23:32:53 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (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 8623E20658 for ; Wed, 15 Jul 2020 23:32:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8623E20658 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1jvqsh-0005U8-Rh; Wed, 15 Jul 2020 19:32:07 -0400 Received: from omr1.cc.ipv6.vt.edu ([2607:b400:92:8300:0:c6:2117:b0e] helo=omr1.cc.vt.edu) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1jvqsd-0005Tq-Tn for kernelnewbies@kernelnewbies.org; Wed, 15 Jul 2020 19:32:04 -0400 Received: from mr5.cc.vt.edu (mr5.cc.vt.edu [IPv6:2607:b400:92:8400:0:72:232:758b]) by omr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id 06FNW0Q4000999 for ; Wed, 15 Jul 2020 19:32:01 -0400 Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by mr5.cc.vt.edu (8.14.7/8.14.7) with ESMTP id 06FNVtMO025969 for ; Wed, 15 Jul 2020 19:32:00 -0400 Received: by mail-qv1-f70.google.com with SMTP id cv20so2317037qvb.12 for ; Wed, 15 Jul 2020 16:32:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=GSd34G5zNux57ejVI1ANc/4ur+SnYDAC4LQK1C8DWxs=; b=dI4Hgn3cdZa7fzpYExDZ9tfzAPQ1vc6OIvfLfu70dSM/eBeIHaeAMvevR1oHtlhf0h yYb+RB/KeP+RvVw5wUas8w+s9L7aH16PPyuq8TyTo5K7uhKtWn1qiLwbjNLeVJGhXkOO 4sqH7ZgvPk/2AjOP9v5f7GK5Q+yk/mRmxOleqLd0qqpaZg8f91+SCxoqjFrbdp+FgJph pc8/6+dFOfoOXZ5AqoIMrADuhs6DoiIwQ9fTJ+HzmNArwXaq1SoToQjMsIUKB0GrkUQJ zQHgEJABx+0K2DoFL9Thc8/1b2zJNJDut4z4qw5eLIc5RX3BtRYv0TGCD8EcTBMVPxw1 VUhg== X-Gm-Message-State: AOAM5319kYfJojYYybXbAaotL7nrr9wVPPExlWMophms/+PKsp5e934P LB6386+pwetLNmfyU7XA/9xK4e8lBW6v6BQEftpY6nIsN63z1QO/zA5amRG86r9vMZz411RDUdJ 9nc8hCwmgL84j7pBt0OeWiqCiEOjn1yZqk8rdkEo= X-Received: by 2002:ae9:ef4f:: with SMTP id d76mr1415850qkg.423.1594855915517; Wed, 15 Jul 2020 16:31:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFbqofCCWbcoceVzzI4NUvpUJKz1MBCviNWWlSrwAV8ujYdLaii3Ub7F4fybzgLPCYQK5VyA== X-Received: by 2002:ae9:ef4f:: with SMTP id d76mr1415819qkg.423.1594855915127; Wed, 15 Jul 2020 16:31:55 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:c9e1::359]) by smtp.gmail.com with ESMTPSA id f15sm4202431qka.120.2020.07.15.16.31.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 16:31:53 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: William Tambe Subject: Re: When returning from schedule_tail() ... In-Reply-To: References: Mime-Version: 1.0 Date: Wed, 15 Jul 2020 19:31:52 -0400 Message-ID: <590787.1594855912@turing-police> Cc: Kernel Newbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5458014491360809472==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============5458014491360809472== Content-Type: multipart/signed; boundary="==_Exmh_1594855912_174210P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1594855912_174210P Content-Type: text/plain; charset=us-ascii On Wed, 15 Jul 2020 10:05:25 -0400, William Tambe said: > When returning from schedule_tail(), is it still necessary to check > for (_TIF_SIGPENDING | _TIF_NOTIFY_RESUME) before resuming task ? Well.. since the semantics of signals are defined as being delivered when a process returns from the kernel, how would you avoid checking for a pending signal and still maintain the semantics? --==_Exmh_1594855912_174210P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBXw+R6AdmEQWDXROgAQI0dg//Ws8OJlO8ZlFilhMtMFu6EA/xwAJeLLrT IL+HOGmg+YKx3aGQ4kt7iLovFvju9ETWRB/O0OiAwOakjM8zD8OkJDcMS0xER7pd qj9WUiWeMqHUO7CN+yb187f0dQ6Gy4DA2q7KE33sQeZ2hvKbAr+9lHQMVCQrchWG KPC3+WrIc8rG4Nt5SrPYLyggiOrmNBLctoECZzTFfkde3o+/GPk/n07XGpPuX4QF moV1osn+o31C97OeXp5wd1/LuWdpoyaBoAJhD7Gtr9vSTgnHQC2LA2637JuhogvF BT0/CO8y8hMzPbSCN7b17KtgBWWLqMjc7lXiBUDcSi3Cjl+kQUj72tUyr/o6Ea0d hUrVYsO9gqIlWbqeghDvIxDVGBPZT0J6r1nc1NT8IBHG4fNMVfOcuKpS+XmhPRRk Wu+k3djloeG1AiEZWZY1oYbuhia2YmIi7wUNBxcCvG0UYABx76t/BbDxZXw+Bk+P qmTYZ4KuA3bsnJAHTidjUT2EbA9UDSyggfewI7lk7FGBu6jspddJaiUpf2Rf5bnP g5TLLWz7ZZCBzh+P5QPrssKxPldQSb7QJbZ/R9KqLI7431YTtgq6brEYioSGTtz9 CwRBMKxG8I41qwEsgFai7szyfjdCWQVTLIbrJLiqjub+fzVmR6MDXPk1pzJB8RYG kJ9zvIQAduM= =0Q9Z -----END PGP SIGNATURE----- --==_Exmh_1594855912_174210P-- --===============5458014491360809472== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============5458014491360809472==--