tests/pdx: allow more tests on 32bit build

The limitation of which tests can be build on 32bit is too strict.  Move
some tests out of the 64bit explicit region, as they can also be built on
32bits.

Fixes: cb50e40337 ("test/pdx: add PDX compression unit tests")
Reported-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Roger Pau Monne committed 2026-03-12 11:16:31 +01:00
1 parent 87774bbc39
commit a3a1e61ce9
1 file changed
+11 -11
+11 -11
View File
@@ -77,6 +77,17 @@ int main(int argc, char **argv)
},
.compress = true,
},
/* Two ranges with the same high bit set. */
{
.ranges = {
{ .start = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 0,
.end = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 1 },
{ .start = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 3,
.end = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 4 },
},
.compress = true,
},
#endif
/* PDX compression, 2 ranges covered by the lower mask. */
{
.ranges = {
@@ -132,17 +143,6 @@ int main(int argc, char **argv)
},
.compress = true,
},
/* Two ranges with the same high bit set. */
{
.ranges = {
{ .start = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 0,
.end = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 1 },
{ .start = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 3,
.end = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 4 },
},
.compress = true,
},
#endif
/* AMD Naples Epyc 7281 2 sockets, 8 NUMA nodes. */
{
.ranges = {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.