Message ID | a4c1dcb64bd60a990ec7ac031835120bec548680.1439187003.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBGUDUGXAKGQE34CRKFQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by patches.linaro.org (Postfix) with ESMTPS id 9145420539 for <linaro@patches.linaro.org>; Mon, 10 Aug 2015 06:15:55 +0000 (UTC) Received: by lbcli1 with SMTP id li1sf1565327lbc.2 for <linaro@patches.linaro.org>; Sun, 09 Aug 2015 23:15:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:in-reply-to:references :sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=RVy8rxN33j7Gum+f3iIhvTEFAByyHwISrXgxbrz30lE=; b=a7IXh2yicrgWPhhh/64XxS34zkKwq6twW9gCDpTcdgzcBS4g57bcBM9DY1ZfoxnonR uIDlFEz9jF6hSecN9LU30rtB92osa8Iqmy0yncOHdPsgvtIFrcSjPxyk8DbFaaLL9/F7 omysgHlFOfEF0gGgtO0K/pTrXnRMVzTS+TqnuNDp/KXberqylCqLFuimrWKPNszNUFua UVzlk/YOuu8CQLpUpr8zEQj4450FhWBfFnzzB0Wh+xAaEgb4U/iAKLlWXUjv13VtxmOT K+XZuLP7y6T/ngTtlMYE0sNVQfbQztB1A6wY6GJczdq7bHr+OvRNIqPNHxDhcdINE5IV iAkA== X-Gm-Message-State: ALoCoQkywHjAT+9zup1m95niToVi+YH2E4NvKrqSxWeKo2pvGunTuWKb1y1TGq7AQkh8AAsdddey X-Received: by 10.180.96.137 with SMTP id ds9mr3176420wib.2.1439187354525; Sun, 09 Aug 2015 23:15:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.41 with SMTP id u9ls83669laz.58.gmail; Sun, 09 Aug 2015 23:15:54 -0700 (PDT) X-Received: by 10.112.146.106 with SMTP id tb10mr18496970lbb.22.1439187353991; Sun, 09 Aug 2015 23:15:53 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id jt4si13420492lab.59.2015.08.09.23.15.53 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Aug 2015 23:15:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbbsx3 with SMTP id sx3so5625878lbb.0 for <patchwork-forward@linaro.org>; Sun, 09 Aug 2015 23:15:53 -0700 (PDT) X-Received: by 10.112.67.65 with SMTP id l1mr8491544lbt.86.1439187353895; Sun, 09 Aug 2015 23:15:53 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp1739990lba; Sun, 9 Aug 2015 23:15:52 -0700 (PDT) X-Received: by 10.68.182.3 with SMTP id ea3mr41205068pbc.126.1439187352722; Sun, 09 Aug 2015 23:15:52 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3si5124412pdm.195.2015.08.09.23.15.51; Sun, 09 Aug 2015 23:15:52 -0700 (PDT) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754091AbbHJGPt (ORCPT <rfc822;matthew.hart@linaro.org> + 28 others); Mon, 10 Aug 2015 02:15:49 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:36694 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752744AbbHJGPs (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 10 Aug 2015 02:15:48 -0400 Received: by pacrr5 with SMTP id rr5so96397231pac.3 for <linux-kernel@vger.kernel.org>; Sun, 09 Aug 2015 23:15:48 -0700 (PDT) X-Received: by 10.66.97.65 with SMTP id dy1mr41431069pab.78.1439187348004; Sun, 09 Aug 2015 23:15:48 -0700 (PDT) Received: from localhost ([223.227.137.11]) by smtp.gmail.com with ESMTPSA id fl6sm18550705pab.12.2015.08.09.23.15.44 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 09 Aug 2015 23:15:47 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> To: akpm@linux-foundation.org Cc: linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, Viresh Kumar <viresh.kumar@linaro.org>, "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>, Andrea Arcangeli <aarcange@redhat.com>, "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>, David Rientjes <rientjes@google.com>, Ebru Akagunduz <ebru.akagunduz@gmail.com>, linux-mm@kvack.org (open list:MEMORY MANAGEMENT), Matthew Wilcox <willy@linux.intel.com>, Mel Gorman <mgorman@suse.de>, Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Subject: [PATCH V1 Resend 10/11] mm: Drop unlikely before IS_ERR(_OR_NULL) Date: Mon, 10 Aug 2015 11:42:32 +0530 Message-Id: <a4c1dcb64bd60a990ec7ac031835120bec548680.1439187003.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.4.0 In-Reply-To: <cover.1439187003.git.viresh.kumar@linaro.org> References: <cover.1439187003.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1439187003.git.viresh.kumar@linaro.org> References: <cover.1439187003.git.viresh.kumar@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 7109330c5911..97b8d5cd4550 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -151,7 +151,7 @@ static int start_stop_khugepaged(void) if (!khugepaged_thread) khugepaged_thread = kthread_run(khugepaged, NULL, "khugepaged"); - if (unlikely(IS_ERR(khugepaged_thread))) { + if (IS_ERR(khugepaged_thread)) { pr_err("khugepaged: kthread_run(khugepaged) failed\n"); err = PTR_ERR(khugepaged_thread); khugepaged_thread = NULL;