From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta0.migadu.com (out-32.mta0.migadu.com [91.218.175.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2EFA84AA1DE for ; Tue, 8 Sep 2026 13:41:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.32 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788874918; cv=none; b=FW4yvuU8xRV4WGM3TPqIgoBwNJzcxt9GDBgfD2R1runl+9eQ3Tbje2yzJGsGeIp85qGDyZA0vtukD4RDkjxUIvolURwiSaHHJ2czjHEPE438QvZtbSXld1xWwZnZvhaRPYPqOvJFtLGBc/xmAxcYZug9/VclQJaCqqR9KXZTAYc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788874918; c=relaxed/simple; bh=wDM/C2iLMlGhOWS8ms+YRDtFyqA9wYNdgpqeYFK2a1c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SHAAozKKMoWf+LqhOtQQnmknyOa8QX/13CA8Hzpx5psBstiRj78JPg6szbq77lPIDfAXsiaie8w8u1kaJb9GNYOIPovbVM5TfWEh1Igfs+A8UUqwP5BsFHHFTykIAPzLfgjXTbj4aXRC9v5AhmadXCalRhhP6y4EXp+0XhKVZRg= 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=imQj+6UC; arc=none smtp.client-ip=91.218.175.32 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="imQj+6UC" X-Envelope-To: linux-kselftest@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=wDM/C2iLMlGhOWS8ms+YRDtFyqA9wYNdgpqeYFK2a1c=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1788874904; v=1; x=1789479704; b=imQj+6UCtFZv9b6uSvTlhUcnNhE2MJymZc3g7kWsUlAyTiPbdICqyCEK8caqUMPFY1iimQ7M GnGAOl6RaGcuFV/P9nVexyePxDCgO9cc3HlC6633z5jJZ3V7f+zIDjImbw1xXf06UgQtmLB53YX 7bnpwgs/rRx1MoPCtNjBre0s= X-Envelope-To: linux-kselftest@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id e4cf5d51cedb5d4e; Tue, 08 Sep 2026 13:41:44 +0000 X-Mizu-Trace-ID: e4cf5d51cedb5d4e X-Migadu-Flow: FLOW_OUT From: Zenghui Yu To: linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Cc: akpm@linux-foundation.org, david@kernel.org, ljs@kernel.org, liam@infradead.org, vbabka@kernel.org, rppt@kernel.org, surenb@google.com, mhocko@suse.com, shuah@kernel.org, gourry@gourry.net, "Zenghui Yu (Huawei)" Subject: [PATCH v2 0/3] selftests/mm: pagemap_ioctl test fixes and cleanups Date: Tue, 8 Sep 2026 21:41:14 +0800 Message-ID: <20260908134117.84405-1-zenghui.yu@linux.dev> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Zenghui Yu (Huawei)" This series fixes a size truncation bug in the pagemap_ioctl test that breaks it on arm64 systems with 64K base pages, and applies two small cleanups suggested during the review of the fix. * From v1 [1]: - unify all size-related parameters and variables to size_t (David) - drop Gregory's R-b for patch #1 (as the content has changed too much) but thank you for that! - add patch #2 marking file-local symbols static (David) - add patch #3 initializing page sizes early (Andrew) [1] https://lore.kernel.org/20260907135613.68692-1-zenghui.yu@linux.dev Zenghui Yu (Huawei) (3): selftests/mm: fix size truncation in pagemap_ioctl test selftests/mm: mark file-local symbols of pagemap_ioctl.c static selftests/mm: init page sizes early in pagemap_ioctl test tools/testing/selftests/mm/pagemap_ioctl.c | 94 +++++++++++----------- 1 file changed, 48 insertions(+), 46 deletions(-) -- 2.53.0