Re: Contributing to the device driver staging section of the linux tree

2014-04-15 Thread Greg KH
On Tue, Apr 15, 2014 at 10:57:28PM +0530, Kashyap Gada wrote: > Hello,  > > I want to re start the code clean up stuff in the staging branch of drivers in > the linux tree. I have done this before some time back on the 2.6 branch. I > want to get back to atleast start off again (I am learning deve

Contributing to the device driver staging section of the linux tree

2014-04-15 Thread Kashyap Gada
Hello, I want to re start the code clean up stuff in the staging branch of drivers in the linux tree. I have done this before some time back on the 2.6 branch. I want to get back to atleast start off again (I am learning developing device drivers) to be active in the community. My question is tha

Questions regarding del_timer_sync() and re-registering timers

2014-04-15 Thread Jimmie Mayfield
Hi. The conventional wisdom when mixing del_timer_sync() with timers that re-register themselves is that the caller must ensure that re-registration does not happen. >From kernel/timer.c: * Synchronization rules: Callers must prevent restarting of the timer, * otherwise this function is meaning

Re: cgroups: cannot write on file memory.oom_control

2014-04-15 Thread Rami Rosen
Hi, Hedi, This sequence works for me: echo 0 > /sys/fs/cgroup/memory/memory.use_hierarchy mkdir /sys/fs/cgroup/memory/0 Then, the following two commands changes the value of oom_kill_disable: echo 1 > /sys/fs/cgroup/memory/0/memory.oom_control echo 0 > /sys/fs/cgroup/memory/0/memory.oom