diff --git a/Userland/purge.cpp b/Userland/purge.cpp new file mode 100644 index 00000000000..840adde2729 --- /dev/null +++ b/Userland/purge.cpp @@ -0,0 +1,9 @@ +#include +#include + +int main(int, char**) +{ + int purged_page_count = syscall(SC_purge); + printf("Purged page count: %d\n", purged_page_count); + return 0; +}