echo 1 memory.oom_control bash: echo: write error: Invalid argument

2014-03-31 Thread Kevin Wilson
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:

System call interception by jprobe

2014-03-31 Thread edsionte
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

flush_dcache_page from user space.

2014-03-31 Thread ratheesh kannoth
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