Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1268114imm; Thu, 5 Jul 2018 19:08:28 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdV+qxq3ICi1LlhfJSenbrvotNgTF2OLZGKFgaBjmcCpmqRsfdbU0Kz4S15vPrh9cKQI5bn X-Received: by 2002:a63:5fc1:: with SMTP id t184-v6mr7414998pgb.183.1530842907998; Thu, 05 Jul 2018 19:08:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530842907; cv=none; d=google.com; s=arc-20160816; b=syRHem4GSpMyLIId3TJI2Y41cFA/HqY+2FhyrGYM9syXX6BXryQLqD7p2EmaKMFI6g 8fXrmBDsh2BgOAKOjH2W1Rlkqubxyr+YEq8db+xKxW39Cs/iD9IGOYCkBQmfyR2wqPSE Sx9JA6nwrmPJN6zaifxePRCjsxPK/S2hEMc51ZYd01O0DyrSY7YkBXmXHQ0+Qm2Grs+X pJnBU/j4lceHcwqHEL65T1NMGPn0NGuigV7abvgUHyanUu/Si2G/qWJDxJLxST9yl/Me JouCN0yW8/JtuQM3J7Z5FTgMdkSOYOZBfM4vLcUSROvKtryXqxiecp57QZIxLPhMXM0F /EqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=AtGhTdyw+mwgwRVIXBCgIPGqaUU7oxsATbqeTxaddlU=; b=rLI7HiDMPrrYOGJ49dvesp1pBweWO63/c4IVOSNnEp2Xvm8fNcS5tf7tneWPh4VOdP cFBAJQ6JZDCnAOrQkyzgesCM/NYWNoFMLuf9BavpgXXkBjGPnYWl8I4JwNNV9pxG9oU+ bfzLS7CdQQLyRogEdV5IpYy+hBJSg9YDzjSd6gQ5wGvA/Ox+esumfc82DNGGfJdIpUoj zHqx6tXIZANnPhLLXx81nGTFxthErMoz5/qMKSltltz15QW+TwlGxUX4eC1mMyjQZtwL 8xc/lSk+5ya34GwbLBbhHiTIueL1YLeAdK8B53yoR/KzauOWH/xOGDMRxbQIaaFOTC29 lU+g== 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 w5-v6si6977244plq.112.2018.07.05.19.08.13; Thu, 05 Jul 2018 19:08:27 -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; 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 S1753779AbeGFCHh (ORCPT + 99 others); Thu, 5 Jul 2018 22:07:37 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:44506 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753608AbeGFCHf (ORCPT ); Thu, 5 Jul 2018 22:07:35 -0400 Received: from localhost (unknown [211.196.191.92]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id CF87110977DA2; Thu, 5 Jul 2018 19:07:33 -0700 (PDT) Date: Fri, 06 Jul 2018 11:07:30 +0900 (KST) Message-Id: <20180706.110730.784787207378309674.davem@davemloft.net> To: hofrat@osadl.org Cc: derek.chickles@caviumnetworks.com, satananda.burla@caviumnetworks.com, felix.manlunas@caviumnetworks.com, raghu.vatsavayi@caviumnetworks.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] liquidio: make timeout HZ independent and readable From: David Miller In-Reply-To: <1530555195-28129-1-git-send-email-hofrat@osadl.org> References: <1530555195-28129-1-git-send-email-hofrat@osadl.org> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 05 Jul 2018 19:07:35 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nicholas Mc Guire Date: Mon, 2 Jul 2018 20:13:15 +0200 > schedule_timeout_* takes a timeout in jiffies but the code currently is > passing in a constant which makes this timeout HZ dependent. So define > a constant with (hopefully) meaningful name and pass it through > msecs_to_jiffies() to fix the HZ dependency. > > Signed-off-by: Nicholas Mc Guire > commit f21fb3ed364b ("Add support of Cavium Liquidio ethernet adapters") Applied, thank you.