From nobody Thu Apr 9 09:09:10 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 1FDE6423A8B for ; Fri, 27 Feb 2026 14:07:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772201230; cv=none; b=cRDaqPPZSsXppXNgCMs3bBMh7ptVqPdskIOrIfkFqqK9yU+ZLlUugCCNmwLAYi1B0gVh48TdxvbaxaYNQtl+nQjNZpTwXb67pVP7kIfPoeq/8T6mtksyR8WCxlA3tYZS3TgDdGiQZ2E3dgZei+xRYeGMInNgdPn3v+3/GiDQTvc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772201230; c=relaxed/simple; bh=ROmmXX5VHYzob4RcDQXPVNrZadRdQPHuQymrhi8wrIk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=C7WdWhfm187wn4W1+I6DX2Tlc41THvWVgtrxcd5dRHjVO2O+80accyjLl6YVsGBDHYaRtA/hGkx/OhDodJm/V/oxWWaWVCEgDnLcEUy4S89MbH9z79hsTjeviDVOT2Z7WhdaiqZuL4iYgpwslFWYthK+creQCEC9TS96u1bVPtM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=azyUuvz2; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=cm1qWmw0; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="azyUuvz2"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="cm1qWmw0" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61RAC3eo236359 for ; Fri, 27 Feb 2026 14:07:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=y/M/Mw/VkIM mop6kOgPd/ElQCMlQNXPvBeXbJGToyfE=; b=azyUuvz2IKdTpCeERnBMi+mG27W GbwNusPYUJBuAMRi7jt23oZKPEppod3GF1AyL726d/GmEuJLXrj4QBq+I7Y+jFAM mXJVqJLQ0goLEK8GRPj/8n1YUy4ndj102N1XnE3bthZ1qhH5fNr72BE3wNawuPQ9 Jiwb9I0BMGS4sTMm3RDmvyvBYEv4M6+tddAfcZ/DwNmDrDlidnH6/jE6YzSaiDNl Tc9nN0gJUhuwVW+vbR8lspJHMk7/fpKcwTaNfZDGKYHjoI+lljYERrALXaOZNKKh QEKeHYvsRis+SruC9PhXOMFaZmoZQSFwalfp2b9PyqDHrxC+RFeF416hT9A== Received: from mail-ot1-f72.google.com (mail-ot1-f72.google.com [209.85.210.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cjx1xttew-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 27 Feb 2026 14:07:08 +0000 (GMT) Received: by mail-ot1-f72.google.com with SMTP id 46e09a7af769-7d4c393cc9aso11786285a34.0 for ; Fri, 27 Feb 2026 06:07:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772201227; x=1772806027; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=y/M/Mw/VkIMmop6kOgPd/ElQCMlQNXPvBeXbJGToyfE=; b=cm1qWmw0/4FfRu9JZ8Z7KLfu8b2PyGMIHxPs/7nVOKWnQS/YH+6i/eYu+jN8437OOw 0ERx1q14tvbTXTgLao9osGmedv3jyq+rhMDnpg3iATtJRKJY2MHtNSPJXENkIJP/+mxE r1HMVW+fU6wES961H6Pr9k2OTHzo0kvk2RcFvMKiZtBa/OAcacNh7tGwQ1u/NVN8UARe Sd1f+je3JqzFBDA+RzcqSvCZBbkyVwjSyzmo2McveF1MTAO6EZWMwHijFgvfE9lBUHSU HqElD2PZU3H7Mi70xOJ9Uclb+QVlG0YUot1LSET34W1PcHwCQvc+X5PMKC22paT/HVis Bkfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772201227; x=1772806027; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=y/M/Mw/VkIMmop6kOgPd/ElQCMlQNXPvBeXbJGToyfE=; b=nXMJ28DVMNe8x5bcjtVg+syjElyFAiAdBGCbGAaRvkGkhubXBDtB6+O9wO/N0tLtr5 OTjvLvEHprGTG5saYZGy/O7RCARawZ8zfAh4gBKpMUuhsXYbLSjl2h4bgnspOeG0daU6 a7IS1vlcFuNEdR65rKFhaOC6ZSR9MruWPtyfiXJNMERF+X1EUfho0XJcqVouHCdYYjDO 5Nn+HFZRwv8e72CMPoAZj8vUaIhfx5WvNIJb6td1Wmh8Hmf6f7X6uzD7hOL53xVpSIZP ArALxjjsEZX1xgWwuWNvgmUDV/e7TdGM3Dys5+Q62pkl4yhpLBGSE8AppK6SHAzRMvc5 MuFw== X-Forwarded-Encrypted: i=1; AJvYcCUfcJ/eKKJ/Ar9BHCUCZhuqEsdLlTohA2eSveY6XFFhJ0TnCfInP9IP+Da61c3NvLTrxAfKQ5/xwt5Kp6M=@vger.kernel.org X-Gm-Message-State: AOJu0YxbeXBMcFWcq8OuXsr949LBeYCFZmnxyDGoLTLTLwafoEgnmoVW g/S2lMJsFwZULpejWOv7gWTrMDcKGkaRENoER2FNu2dME5zwGZPetXd3oPCkVlSOlm8oz04YHaZ KBm1Edpz9RInrQd13aZJ5xKzoCtdzb7q9nB+/zhG2wUneWOw6oLdury3neiHEn366zHU= X-Gm-Gg: ATEYQzwTgCa0KR10TI/3IYEOwLn9LI3ICcsxNuiYUkxztt6N0zQKjnbkHFoexlcZkHM NEzWh4bx+RNRrsv/BKofJJ9rn0gfAph4EOyxRGYdAOKtvIXH7qwx4z1as6mV+y28NNWRu9mlOzv 0uBucOG5h83JkzTaRBIFTbyRlY0nPuJrLAPiI0yESejaEqOLawxA5SoghLnah/bYw5SdvmUIyhm +TDXgRTfZ/9CSWpYJIO+wsuESY5azFLgpVz+Lhf+ckEj9KFhBLA2rUZ8cAxqDCha2ObySb4RQyx +d30dICaEaHkvqAo9qMxC9PBD9zhCJUH8xiCGBHIW7e6rdioSnKIxo88nObsuo5AUR2pEwx0GDy 0WGBEC+X7bEpwUg+90pAiQnk/tXDXKf4hhwmUmIenW9VliSpWu3HA6bB+D36SAeyfZZDOm3Zikh KTv4lQ X-Received: by 2002:a05:6830:630e:b0:7d4:49a6:d9fc with SMTP id 46e09a7af769-7d591b03f93mr1986593a34.6.1772201227680; Fri, 27 Feb 2026 06:07:07 -0800 (PST) X-Received: by 2002:a05:6830:630e:b0:7d4:49a6:d9fc with SMTP id 46e09a7af769-7d591b03f93mr1986566a34.6.1772201227199; Fri, 27 Feb 2026 06:07:07 -0800 (PST) Received: from hu-ysakshit-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7d5866269a8sm4324502a34.13.2026.02.27.06.07.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 06:07:06 -0800 (PST) From: Yuvraj Sakshith To: akpm@linux-foundation.org Cc: mst@redhat.com, david@kernel.org, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, longli@microsoft.com, jasowang@redhat.com, xuanzhuo@linux.alibaba.com, eperezma@redhat.com, lorenzo.stoakes@oracle.com, Liam.Howlett@oracle.com, vbabka@suse.cz, rppt@kernel.org, surenb@google.com, mhocko@suse.com, jackmanb@google.com, hannes@cmpxchg.org, ziy@nvidia.com, linux-hyperv@vger.kernel.org, virtualization@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 4/4] page_reporting: change PAGE_REPORTING_DEFAULT_ORDER to -1 Date: Fri, 27 Feb 2026 06:06:55 -0800 Message-Id: <20260227140655.360696-5-yuvraj.sakshith@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260227140655.360696-1-yuvraj.sakshith@oss.qualcomm.com> References: <20260227140655.360696-1-yuvraj.sakshith@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: zFKLYg6ZTISr_M4_YRRtwDsUWTMfv_iC X-Authority-Analysis: v=2.4 cv=Vtouwu2n c=1 sm=1 tr=0 ts=69a1a50c cx=c_pps a=+3WqYijBVYhDct2f5Fivkw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=6q7Fjfde3VlTRWJJNBIA:9 a=eYe2g0i6gJ5uXG_o6N4q:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjI3MDEyNSBTYWx0ZWRfX0wPIKAV8wDpt yn1nJ0zdR5DBxYhtZBr24w+I5/m09LHjoR9MK73+YU4ofiPOs+l3l7q3tiWB2euUNMsZNXjWgYE uEuwPy+z3+9EuGj/ASEH79X+qE9ue3pKtX4QVB5tpzAxzhdknwfkwjZqSiVdY1PlsbKIwHcLuvW +IacMUAmLa331GUMiK/dpxh3B5CD9xaoINzyKcGlVjdIa9bHhhct3S9JozSI2WpAcgi1cXzC9S/ jXKeWDzeQgw6TMS4TyzDZybaw538LbENd7qPW7OH/gUA0wUv6dslm+T9E5QrY4lkaEgwdxEIdfe INQwu/EMnKrr1O9CwMlq8YeZaU12OluEEKN51ECd0r5iwDopNB3xHiREaf5OXG+DfPgb53Gls+w xZkEKwhHo9NkpIio4Dw23+vKkCQiAyQE6wO8WOstGDnZmNw/YOLiymwEapqbKfft8kB1nK6gX48 Tdec2jr8iLL67lf3eMQ== X-Proofpoint-GUID: zFKLYg6ZTISr_M4_YRRtwDsUWTMfv_iC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-27_02,2026-02-27_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1015 phishscore=0 bulkscore=0 spamscore=0 impostorscore=0 suspectscore=0 adultscore=0 malwarescore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2602270125 Content-Type: text/plain; charset="utf-8" PAGE_REPORTING_DEFAULT_ORDER is now set to zero. This means, pages of order zero cannot be reported to a client/driver -- as zero is used to signal a fallback to MAX_PAGE_ORDER. Change PAGE_REPORTING_DEFAULT_ORDER to (-1), so that zero can be used as a valid order with which pages can be reported. Signed-off-by: Yuvraj Sakshith --- include/linux/page_reporting.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/page_reporting.h b/include/linux/page_reporting.h index a7e3e30f2..3eb3e26d8 100644 --- a/include/linux/page_reporting.h +++ b/include/linux/page_reporting.h @@ -7,7 +7,7 @@ =20 /* This value should always be a power of 2, see page_reporting_cycle() */ #define PAGE_REPORTING_CAPACITY 32 -#define PAGE_REPORTING_DEFAULT_ORDER 0 +#define PAGE_REPORTING_DEFAULT_ORDER (-1) =20 struct page_reporting_dev_info { /* function that alters pages to make them "reported" */ --=20 2.34.1