OSDN Git Service

selftests/mm: add platform independent in code comments
authorChaitanya S Prakash <chaitanyas.prakash@arm.com>
Thu, 23 Mar 2023 10:52:41 +0000 (16:22 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Apr 2023 23:53:51 +0000 (16:53 -0700)
commitc2af2a41905efcf662b53f280f8538e5c6bd05f4
tree0ef8373607dc6fa1cb5242d094c88427b7395d34
parentbbe168729d4ef8305f4e35c3bbe4711389ab8354
selftests/mm: add platform independent in code comments

The in code comments for the selftest were made on the basis of 128TB
switch, an architecture feature specific to PowerPc and x86 platforms.
Keeping in mind the support added for arm64 platforms which implements a
256TB switch, a more generic explanation has been provided.

Link: https://lkml.kernel.org/r/20230323105243.2807166-4-chaitanyas.prakash@arm.com
Signed-off-by: Chaitanya S Prakash <chaitanyas.prakash@arm.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/va_high_addr_switch.c