From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0B721B4223 for ; Wed, 21 Jan 2026 02:34:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.186 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768962860; cv=none; b=ZDdO7DqwjpNrlil6BlTqlcmQ1J72vjJiLz3fagIICUXzdhap0h/ib3tz+UkC+vexTjaRIHWi5wNqJhKEnugrPhiF9IXwhQMLRaVLfuOUV5jNG4EPdmStRTLZejwcDDbGDKF27notiN7d6sZ2pbstwPuVDoozh8mnp0BatPcu4JM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768962860; c=relaxed/simple; bh=ruBWZ+2heB6tQmaiDMNCitpusPM/RlwXY+zudpwA2Q0=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=qyCDzCEGUTwigBtWLoR1x6sIcGHpyxeTGDXss7SFabeBC0/uR89o6L55okItmtW6vIJlhAh9MdIhTAtipIVZZgS1kgJikwjX/FalFmPoDtRvlppZfm6aFwdUiyA8Y9gIqlNk0WyYut7SLBheFzxA2wVZsvTku6Rpr5XfiIOOhUI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=BsKb/3ZR; arc=none smtp.client-ip=91.218.175.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="BsKb/3ZR" Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1768962855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8f6m2HPmk6WMQ3NY9h7R0tW9D/vQBCsl6eojaocvr1E=; b=BsKb/3ZRYb888kSb/TmdehQrM56VT/cSpzUpB7O2toLKhIFH6a83lMnB+ZVe6rBlCpt3iC KB8cr2mgrJGZ4uVRKHIMlf3Pk+iU51rse+lhh22K4/2FFEo8BU9tPZcJ9tCgEiun4if/B1 vlNLMQ3ACgshYFCbHq0GGcPPGqFGenU= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.300.41.1.7\)) Subject: Re: [PATCH] mm/hugetlb_vmemmap: Use max() macro to simplify the code X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20260121015114.560424-1-zenghongling@kylinos.cn> Date: Wed, 21 Jan 2026 10:33:36 +0800 Cc: osalvador@suse.de, david@kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, zhongling0719@126.com Content-Transfer-Encoding: 7bit Message-Id: <536E49BE-7247-4628-8DA4-42573ED7098F@linux.dev> References: <20260121015114.560424-1-zenghongling@kylinos.cn> To: zenghongling X-Migadu-Flow: FLOW_OUT > On Jan 21, 2026, at 09:51, zenghongling wrote: > > Use the max() macro to simplify the function and improve > its readability. > > Signed-off-by: zenghongling Reviewed-by: Muchun Song