[sugar] [RFC] teach sugar to update oom_adj

Marco Pesenti Gritti mpg
Mon Feb 19 07:48:00 EST 2007


On Sat, 2007-02-17 at 16:24 +0530, Joshua N Pritikin wrote:
> This is my first real patch for sugar. Does it look OK? Did I add code 
> in the appropriate place? FYI, this patch is in reference to:
> 
> http://www.redhat.com/archives/olpc-software/2006-March/msg00205.html
> http://www.redhat.com/archives/olpc-software/2006-March/msg00227.html
> 
> Currently the write fails with "Operation not permitted." I presume some 
> minor tweaks to the kernel are necessary?
> 

Is /proc/pid/oom_adj supposed to be user writable?

I'd like to make this actually work before getting the patch in. If
there are issues we should open tickets about them.

Marco



More information about the Sugar-devel mailing list