Hello,
On Fedora 20, I try the following:
1) create a cgroup called 0
/sys/fs/cgroup/memory/0
run:
echo 1 /sys/fs/cgroup/memory/0/memory.oom_control
bash: echo: write error: Invalid argument
Why am I having this error ?
According to the documentation:
Hi, guys,
I am trying to use jprobe to intercept syscalls in linux kernel.
Such as open(),the original flow is open()--sys_open(),
and now,
open()--check_file()--sys_oepn()
The check_file() is jprobe's entry point.
If check_file() returns sucessfully, jprobe_return() will be called and
I mmap'ed mmory allocated by kmalloc , to userspace. I can modify
data ( in that memory region ) from kernel space or userspace and
call flush_dcache_page to get it refected in both kernel and
userspace.
1) if i modify a value from userspace, is there any other way to
flush dcache page