bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bpf selftests and page size
@ 2021-03-01  8:56 Yauheni Kaliuta
  2021-03-02  5:08 ` Andrii Nakryiko
  0 siblings, 1 reply; 8+ messages in thread
From: Yauheni Kaliuta @ 2021-03-01  8:56 UTC (permalink / raw)
  To: bpf

Hi!

Bunch of bpf selftests actually depends of page size and has it
hardcoded to 4K. That causes failures if page shift is configured
to values other than 12. It looks as a known issue since for the
userspace parts sysconf(_SC_PAGE_SIZE) is used, but what would be
the correct way to export it to bpf programs?

-- 
WBR,
Yauheni Kaliuta


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-03-26  5:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-01  8:56 bpf selftests and page size Yauheni Kaliuta
2021-03-02  5:08 ` Andrii Nakryiko
2021-03-03 10:39   ` Yauheni Kaliuta
2021-03-03 17:30     ` Andrii Nakryiko
2021-03-04 20:35       ` Yauheni Kaliuta
2021-03-04 20:51         ` Andrii Nakryiko
2021-03-24 13:28   ` Yauheni Kaliuta
2021-03-26  5:12     ` Andrii Nakryiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).