From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) (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 69B182236EB for ; Thu, 19 Mar 2026 06:39:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.97 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773902345; cv=none; b=igusz0vBocgE6WXSnWFBtpi2T/TLjo+kaHHdt1WG282hi0+WXZR1zk0iAnF9JmKRBj1fg5c22DMCcTzOGNmiN4TKI8glzLFCFTpcF/hxVXs/WXOG8iHWhHVpTdV+NNAWL5sS2nj7IeddI9ps0iJeEY11PtZhX1r7shjF+/dTDQ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773902345; c=relaxed/simple; bh=ekiVy+BA6ohIagY/j7XArK6Qm6EZZSu4Zz3nMhOIqK4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=bMs+rjSW1RQJ2g3B/OYPVK3zFzG8WTWZvLoNHdltKP0fKorCfU9qMdo4AmfJfxzrOcXiCd+lODhXNE57sWfGLOzTe6xYvy2Mejj+HOr2fINAHhCJH0j2+dnv2lz/nXXOCH3OV03S/SBmLla1m9pivVnTosmOLJ2TY0rougbgowo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=eFTU2lLP; arc=none smtp.client-ip=115.124.30.97 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="eFTU2lLP" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1773902341; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=cjIE6Af+vdFd9J62SKmwZapE1T6Gs2ZTmxPgKqYGLbU=; b=eFTU2lLP9XwQL1KnjUcA4CQioz5ZC7fVZMgoXImGd3+kkGnvVOmW+bJSdb7kjv8GFtWOOegdKWeMMm9w/41o8ZoLs1MJdy0A9EW6tBMwI5e0Q9Icg5pS1Ce/DkEppCpdMfm0LbtmTiIVwpwAFTrymvcy1PR73Qv43kTEhqAd0+w= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033045133197;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=16;SR=0;TI=SMTPD_---0X.HUAuh_1773902339; Received: from 30.74.144.123(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0X.HUAuh_1773902339 cluster:ay36) by smtp.aliyun-inc.com; Thu, 19 Mar 2026 14:39:00 +0800 Message-ID: <3f14fcb4-e53b-47ff-b1ce-61c52f54c99f@linux.alibaba.com> Date: Thu, 19 Mar 2026 14:38:59 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/8] mm/huge: avoid big else branch in zap_huge_pmd() To: "Lorenzo Stoakes (Oracle)" , Andrew Morton Cc: David Hildenbrand , Zi Yan , "Liam R . Howlett" , Nico Pache , Ryan Roberts , Dev Jain , Barry Song , Lance Yang , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <10be43ead023e9f65333bcaf4064d9d197111405.1773865827.git.ljs@kernel.org> From: Baolin Wang In-Reply-To: <10be43ead023e9f65333bcaf4064d9d197111405.1773865827.git.ljs@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/19/26 4:39 AM, Lorenzo Stoakes (Oracle) wrote: > We don't need to have an extra level of indentation, we can simply exit > early in the first two branches. > > Signed-off-by: Lorenzo Stoakes (Oracle) > --- LGTM. Reviewed-by: Baolin Wang