Compiling a file without O2 in linux kernel

2010-10-25 Thread Ram Sharma
I want to add a file in kernel tree but want to compile it without O2. For example, if I add a file tmp.c in net/core/ directory and modify net/core/Makefile obj list, tmp.c is compiled but with all default options which include O2 also. How can I edit net/core/Makefile to compile tmp.c without

congestion_wait

2010-06-28 Thread Ram Sharma
With respect to congestion_wait function in mm/backing-dev.c, does congestion mean a situation where a process have to wait (to write more) in D state because dirty page flushing to disk is in progress? During congestion, do every process have to wait? Regards, Ram -- To unsubscribe from this

Re: sysrq problem

2010-02-23 Thread Ram Sharma
On Tue, Feb 23, 2010 at 2:27 PM, nidhi mittal hada nidhimitta...@gmail.com wrote: Hi All I want to use magic sysrq key functioning I have enabled in /etc/sysctl.conf kernel.sysrq = 1 but when i press alt + sysrq it asks me to take a screenshot on my Logitech keyboard i have prntscreen /

Re: sysrq problem

2010-02-23 Thread Ram Sharma
Don't top post. On Tue, Feb 23, 2010 at 6:10 PM, nidhi mittal hada nidhimitta...@gmail.com wrote: where do i do that system is already hanged !!! Alternatively, you can try echo b /proc/sysrq-trigger Well... then what you can avail from sysrq even if you have it ! You must use it from a

Copyright question

2010-02-22 Thread Ram Sharma
Dear list members, I have a question about source code copyright. I hope I can get an answer here. Could someone please explain what is the level of copy which violets copyright? For example take 3 cases. Case 1: Exact replica of source code. Ans: Violation Case 2: Functions and variables

Re: Copyright question

2010-02-22 Thread Ram Sharma
I have a question about source code copyright. I hope I can get an answer here. Are you asking in the thinking framework of GPL? If yes, essentially, you may modify the source code, but any modification you made, must be made open too. And of course, you must put proper attribution