Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2386949rdb; Mon, 11 Sep 2023 23:20:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFY1T1PRYkeuxw206Ovvy1vmS2c1Rj7s4/2RzAlENzRALwkTNHCLjD8X11VQxB2C2peLP8D X-Received: by 2002:a17:902:e88f:b0:1bc:7441:d81a with SMTP id w15-20020a170902e88f00b001bc7441d81amr11576767plg.6.1694499625422; Mon, 11 Sep 2023 23:20:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694499625; cv=none; d=google.com; s=arc-20160816; b=0aOpOO+uOxxtCnJztNsNsN3lMbDZv25gVXcVpwOF/lYll5v98nRhksd9dLMtOcttmD AsWdfrs/Ct/cP9g2WoqGKLbfqhet7878chicUR/hfJDbwi2B82aKC7ZCrNz3HNcynF/l pRZuGBbRGQt4OM7091AiiRTtkmv7wgZOZs9QXgA+3r25u625B0mHUcuSVGR6yQwA+Dgo pe4pyG2ictFryqEO+nKb9Sos6Ova/XAZTkyoyd/Mb3+gYsqkKx05wd+QftSuyP76KH9r iPobkFqyEl7/9qjj7puYN25jIBb6Lkf1+HNgogf9NcxGSvTRbUUoMdNin5og+q4BkccG phmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=rNLjNMz3+3X9kmKSVCo6ZZ0+7tjBitf05WRi/8kYBaU=; fh=hTV+i2dXtXZIleXHZ5WJRc8h7IoTA9rkK3i5xAA4664=; b=B0VGH4XgUPmkDNMsam1T9+DNEET46KmMKEx7W7Kp4pzY10w68CP63fFzDKCy5VGScr GHrsJiapdw/JvjVH4HofJcmglsqFoVJhRErS57215AIGQAq8O55pk0q6yb+iWvrOLwW3 9bkmBDcddEXF027DqAdbu91luk8/7zMhsg1w4jIJWqljzaOlwS4JdDcrKWzYkv7tVg6y 9pZNFdn7kvqVbUginPwZ1Pil/L9fE7Z0MZrZ8SNH1thQF3h4LiOcSrfcpcTtVddhbi25 A2LRxFwxLT8oMmoAiLluOYjgYdJZaLg/2OFDwciJFrK7zOd0rob+Va1GVIK+Iqr8PSVN Bekg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id x9-20020a170902a38900b001c3da86939csi130419pla.546.2023.09.11.23.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 23:20:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 9023F8070708; Mon, 11 Sep 2023 21:34:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239079AbjILCb6 (ORCPT + 99 others); Mon, 11 Sep 2023 22:31:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239330AbjILCb2 (ORCPT ); Mon, 11 Sep 2023 22:31:28 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53CF9180EE0; Mon, 11 Sep 2023 18:56:33 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BDDDC433BA; Tue, 12 Sep 2023 01:56:31 +0000 (UTC) Date: Mon, 11 Sep 2023 21:56:48 -0400 From: Steven Rostedt To: SeongJae Park Cc: Andrew Morton , damon@lists.linux.dev, linux-mm@kvack.org, linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] mm/damon/core: add a tracepoint for damos apply target regions Message-ID: <20230911215648.2cdff894@gandalf.local.home> In-Reply-To: <20230912014308.38298-1-sj@kernel.org> References: <20230911165144.5002a0ac@gandalf.local.home> <20230912014308.38298-1-sj@kernel.org> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 11 Sep 2023 21:34:08 -0700 (PDT) On Tue, 12 Sep 2023 01:43:08 +0000 SeongJae Park wrote: > Nevertheless, since the variable is unsigned int, I would need to use UINT_MAX > instead. To make the code easier to understand, I'd prefer to add a third > parameter, as you suggested as another option at the original reply, like > below: That works too. -- Steve