mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-31 15:22:18 +00:00
a94b3d14aa
Changes included (and more): 1. Dynamic RAM merge 2. Real-time page scan and allocation 3. Cache compression 4. Real-time IRQ checks 5. Dynamic I/O allocation for Java heap 6. Java page migration 7. Contiguous memory allocation 8. Idle pages tracking 9. Per CPU RAM usage tracking 10. ARM NEON scalar multiplication library 11. NEON/ARMv8 crypto extensions 12. NEON SHA, Blake, RIPEMD crypto extensions 13. Parallel NEON crypto engine for multi-algo based CPU stress reduction
14 lines
283 B
C
14 lines
283 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <vmlinux.h>
|
|
#include <bpf/bpf_helpers.h>
|
|
|
|
extern int bpf_testmod_ksym_percpu __ksym;
|
|
|
|
SEC("tc")
|
|
int ksym_fail(struct __sk_buff *ctx)
|
|
{
|
|
return *(int *)bpf_this_cpu_ptr(&bpf_testmod_ksym_percpu);
|
|
}
|
|
|
|
char _license[] SEC("license") = "GPL";
|