On Fri, 3 Feb 2006 10:33:58 +0900 KUROSAWA Takahiro wrote: > On Tue, 31 Jan 2006 19:07:35 -0800 > chandra seetharaman wrote: > > > I tried to use the controller but having some problems. > > > > - Created class a, > > - set guarantee to 50(with parent having 100, i expected class a to get > > 50% of memory in the system). > > - moved my shell to class a. > > - Issued a make in the kernel tree. > > It consistently fails with > > ----------- > > make: getcwd: : Cannot allocate memory > > Makefile:313: /scripts/Kbuild.include: No such file or directory > > Makefile:532: /arch/i386/Makefile: No such file or directory > > Can't open perl script "/scripts/setlocalversion": No such file or > > directory > > make: *** No rule to make target `/arch/i386/Makefile'. Stop. > > ----------- > > Note that the compilation succeeds if I move my shell to the default > > class. > > I could reproduce this problem. Could you try the attached patch? I'm sorry, the patch attached to my previous mail has a severe bug. Could you try this patch instead? Also, the code still doesn't work if you enable preemption because of a locking problem so far...