Message ID | d68927c04ea7a284ec83f4401e83302eee6083c9.1439375087.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBZOAVSXAKGQEOXVKEUA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 3F0AB22ED0 for <linaro@patches.linaro.org>; Wed, 12 Aug 2015 10:31:02 +0000 (UTC) Received: by lbcje9 with SMTP id je9sf4259747lbc.3 for <linaro@patches.linaro.org>; Wed, 12 Aug 2015 03:31:01 -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=UnBOyNYH04+AGXCljkA6/i/N1tUcTBCDdJSiq0ngJ8oWnpKtOIqfgDU9gGxwoRiBec BZC0b8nsXWNIjnWgSq4XmildACoo8N/8C3GoUb6OmfT9VGPqTd08KlMGQLXIfktNlWaV LR/UNSasqVCOIAiTcl3Xw3SHbKxyRxxT81Nd0FtTdkwWK9CuB9VDur+hnjtGl+rNly2H 5lFfqtGh9G89/4rzJNcPOXarrcPNB7186FMUfo0RgEUp/GSdRzeyP0IV0TR4KRAOlexk kIeYiP7w9CEoqaIBokalJgkyhcrhHbQm1klMgbHFSsswB19D1bwF0XT5l0sgLfeSq6Ts mRGA== X-Gm-Message-State: ALoCoQnPAIhuDKL+XxK84pi37x4ixnhqS9m0GMQHSO86RphC2RE01jqol+ckkQXSS8BNb+Jwe7aq X-Received: by 10.180.35.162 with SMTP id i2mr6780212wij.6.1439375461194; Wed, 12 Aug 2015 03:31:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.18.137 with SMTP id w9ls24654lad.102.gmail; Wed, 12 Aug 2015 03:31:00 -0700 (PDT) X-Received: by 10.152.37.102 with SMTP id x6mr31121818laj.69.1439375460863; Wed, 12 Aug 2015 03:31:00 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id to6si3800456lbb.131.2015.08.12.03.31.00 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Aug 2015 03:31:00 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbcbn3 with SMTP id bn3so6876146lbc.2 for <patchwork-forward@linaro.org>; Wed, 12 Aug 2015 03:31:00 -0700 (PDT) X-Received: by 10.112.140.68 with SMTP id re4mr31227571lbb.72.1439375460749; Wed, 12 Aug 2015 03:31:00 -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 l6csp234709lba; Wed, 12 Aug 2015 03:30:59 -0700 (PDT) X-Received: by 10.70.0.71 with SMTP id 7mr66426256pdc.157.1439375459334; Wed, 12 Aug 2015 03:30:59 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ir7si8755892pbc.206.2015.08.12.03.30.57; Wed, 12 Aug 2015 03:30:59 -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 S934328AbbHLKa4 (ORCPT <rfc822;matthew.hart@linaro.org> + 28 others); Wed, 12 Aug 2015 06:30:56 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:35670 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754227AbbHLKaw (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 12 Aug 2015 06:30:52 -0400 Received: by pacgr6 with SMTP id gr6so11903349pac.2 for <linux-kernel@vger.kernel.org>; Wed, 12 Aug 2015 03:30:52 -0700 (PDT) X-Received: by 10.66.168.229 with SMTP id zz5mr65282617pab.41.1439375452178; Wed, 12 Aug 2015 03:30:52 -0700 (PDT) Received: from localhost ([122.171.186.190]) by smtp.gmail.com with ESMTPSA id bw15sm5931330pac.41.2015.08.12.03.30.49 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 12 Aug 2015 03:30:51 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> To: trivial@kernel.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>, Andrew Morton <akpm@linux-foundation.org>, 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 09/10] mm: Drop unlikely before IS_ERR(_OR_NULL) Date: Wed, 12 Aug 2015 15:59:46 +0530 Message-Id: <d68927c04ea7a284ec83f4401e83302eee6083c9.1439375087.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.4.0 In-Reply-To: <cover.1439375087.git.viresh.kumar@linaro.org> References: <cover.1439375087.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1439375087.git.viresh.kumar@linaro.org> References: <cover.1439375087.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.177 as permitted sender) smtp.mailfrom=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;