Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8712781imu; Thu, 15 Nov 2018 16:29:47 -0800 (PST) X-Google-Smtp-Source: AJdET5fa5qKHHsMX1laNSd8G8IZXw00tTeY2qqfTioXUCC1TbgCpJOWafb4BbOsfyg88EKHwos8Z X-Received: by 2002:a63:608f:: with SMTP id u137mr7872162pgb.203.1542328187464; Thu, 15 Nov 2018 16:29:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542328187; cv=none; d=google.com; s=arc-20160816; b=IGBedWU74Tw2ZErD9p/9pad8JPks2HJMYRZl9cmJM5SbV+5P4+9adwGSc9AJn1GkaA 692L3Mk+HNV38SZc4oU0AHuzZIr8OTTKthxi7/U0N5L+ipYjSa6ANsxDlGvvCIzIzQ/N GxO+21XfmPmP8IkqJFlUcrc+g5o+o9RlwAuYzAaLabW0P/TollFF2KIe5su7+thVWeVk K4XSRrcC3vvR3yYwoj+xtuIHkHU7QBwjfcF5dDhUl8aAZwNBNm7xE7CVI9YNmbs4Mn+X RHis9W4USRVhAZDZkutVoK/lWzY8fRKAcQpvv1PMD6fJAETI/gndRX4QULjbI/vcQ6oY 6Mww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=lcr8KR1B0O/pmAs0jsZ3Gg4gzj513jDh/IiFXWRA0bs=; b=NMTEspyrRLeV/MvB7z7S9+VHHlvWEBA8wwbRb8cJm9zD9ki5JIenP63yzXULhzqg/G 9lG2y4tZSBPJ5CZz6avLkyfzk6kAh1Vao6nIK4Z0T/547QucYI1UYNZLKgF1O+kECueC RXP0NlOkk/IQEBhDi9FtCidpYHYkPQH99KPQcNUpL8Yu6oO7J9w+DAGtIifMIdu6dj76 mqLogwN4orh1TWwbB8BnATS1oGqvb95kYtRBRnDixS/p1oyF5vXRW70FUrRzYv7Lttis u+bQoH71D01IP3iJRv8WMWNi72dnWm0MCEJzgSWaA9qQ/DBoPzCrXQgruvuO/X0KVWvb gywQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bd3si7176366plb.286.2018.11.15.16.29.33; Thu, 15 Nov 2018 16:29:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389177AbeKPKhj (ORCPT + 99 others); Fri, 16 Nov 2018 05:37:39 -0500 Received: from smtp2.provo.novell.com ([137.65.250.81]:41417 "EHLO smtp2.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726605AbeKPKhj (ORCPT ); Fri, 16 Nov 2018 05:37:39 -0500 Received: from linux-r8p5.psav.com (prv-ext-foundry1int.gns.novell.com [137.65.251.240]) by smtp2.provo.novell.com with ESMTP (TLS encrypted); Thu, 15 Nov 2018 17:27:21 -0700 From: Davidlohr Bueso To: akpm@linux-foundation.org Cc: dave@stgolabs.net, linux-kernel@vger.kernel.org Subject: [PATCH -next 0/6] treewide: Remove redundant branch predictions around signal_pending family Date: Thu, 15 Nov 2018 16:27:07 -0800 Message-Id: <20181116002713.8474-1-dave@stgolabs.net> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series trivially gets rid of users of signal_pending (and family) explicitly wrapping the call around an unlikely(). It is redundant as internally this is already done for us via signal_pending() and [__]fatal_signal_pending(). All patches are independent, so I split it up in case folks want to pick up bits separately. Compile tested only. Please consider for v4.21. Thanks! Davidlohr Bueso (6): locking/mutex: Remove caller signal_pending branch predictions kernel/sched: Remove caller signal_pending branch predictions arch/arc: Remove caller signal_pending_branch predictions mm: Remove caller signal_pending branch predictions drivers/i2c: Remove caller signal_pending branch predictions fs: Remove caller signal_pending branch predictions arch/arc/mm/fault.c | 2 +- drivers/i2c/busses/i2c-ibm_iic.c | 2 +- fs/afs/fs_probe.c | 2 +- fs/afs/vl_probe.c | 2 +- fs/buffer.c | 2 +- fs/exec.c | 4 ++-- fs/orangefs/orangefs-bufmap.c | 2 +- kernel/locking/mutex.c | 2 +- kernel/sched/core.c | 2 +- kernel/sched/swait.c | 2 +- kernel/sched/wait.c | 2 +- mm/filemap.c | 2 +- mm/gup.c | 2 +- mm/hugetlb.c | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) -- 2.16.4