Re: About kernel memory limit

2011-11-10 Thread Haojian Zhuang
On Fri, Nov 11, 2011 at 12:44 PM, Geraint Yang wrote: > Hi Dave, > Thank you for your help ! > Does it mean that I could use all of the memory my computer has? But one of > my classmates told me that kernel could only use 1G from a 4G > memory.computer...Is there anything I have misunderstood ? >

Re: question in request_threaded_irq

2011-08-22 Thread Haojian Zhuang
On Mon, Aug 15, 2011 at 7:03 PM, radhika bhaskaran wrote: > Hi javier, > > Thanks for the help. > > I have tried the suggestion made by you. But unfortunately it did not work. > > For my debugging purpose i tried to register two isr's on the same number > IRQ no in the same driver. But the isr wh

Re: How logs will come to UART serial console?

2011-05-17 Thread Haojian Zhuang
On Tue, May 17, 2011 at 3:52 PM, sandeep kumar wrote: > Hi , > Here is my question. > when we put 'printk's in kernel code the logs will go to the log_buffer.(i > observed that from implementation) > But when UART is enabled(in the bootloader), the same printk logs are going > to the serial consol

Re: How to debug /sys/power/state?

2011-05-17 Thread Haojian Zhuang
On Tue, May 17, 2011 at 10:40 PM, Joy Sun wrote: > Hi, > > I'm a newbie, and trying to understand the power control over linux. > > It looks that the basic power control would be achieved by /sys/power/state, > but I can't find the starting point to look at it. > > Could somebody help me to find w

Re: Enabling tickless kernel feature in ARM

2011-04-26 Thread Haojian Zhuang
On Wed, Apr 27, 2011 at 11:04 AM, Vikram Narayanan wrote: > Dear Haojian, > > On Tue, Apr 26, 2011 at 10:04 PM, Haojian Zhuang > wrote: >> >> On Tue, Apr 26, 2011 at 9:55 PM, Vikram Narayanan >> wrote: >> > Hi, >> > >> > I want to en

Re: Linux kernel patches - websites

2011-04-26 Thread Haojian Zhuang
On Mon, Apr 25, 2011 at 8:14 PM, Jonathan Neuschäfer wrote: > On Mon, Apr 25, 2011 at 03:25:48AM -0700, Anand Moon wrote: >> Hi All, >> >> Are their any website's which will give us information regarding Linux >> kernel patch's, >> before these patch's get merge in kernel main tree. >> >> with re

Re: Enabling tickless kernel feature in ARM

2011-04-26 Thread Haojian Zhuang
On Tue, Apr 26, 2011 at 9:55 PM, Vikram Narayanan wrote: > Hi, > > I want to enable the dynamic tick aka tickless kernel feature for the > BSP which I am developing. What are all the architecture dependent > changes that needs to be done for implementing it. > There was one struct by the name dyn_

Re: How to set work_struct data

2011-04-21 Thread Haojian Zhuang
On Thu, Apr 21, 2011 at 6:22 PM, Pankaj B wrote: > Hi, > Current INIT_WORK() macro takes just work_struct pointer and function > pointer. > In previous kernels there used to be a third parameter for data. > Is there a proper way to set data in work_struct? > Embed the work_struct into your structu

Re: question about alloc_bootmem

2011-04-14 Thread Haojian Zhuang
On Fri, Apr 15, 2011 at 1:49 PM, javaweb zhang wrote: > Hello, everyone. I use alloc_bootmem() in profile.c to allocate a big memory > at function profile_init(), how I know whether it is success? The following > is my code: > // at kernel/profile.c > ctxsw_A = (struct ctxsw_rec *)alloc_bootmem(si

Re: Missing 1GB RAM, where is it?

2011-04-14 Thread Haojian Zhuang
On Fri, Apr 15, 2011 at 12:12 AM, Haojian Zhuang wrote: > On Thu, Apr 14, 2011 at 11:43 PM, Andrzej Kardas wrote: >> >> >> On 14.04.2011 17:09, Adrian Cornish wrote: >> >> Just a thought - lower end graphic cards use system RAM as their own >> dont they >

Re: Missing 1GB RAM, where is it?

2011-04-14 Thread Haojian Zhuang
On Thu, Apr 14, 2011 at 11:43 PM, Andrzej Kardas wrote: > > > On 14.04.2011 17:09, Adrian Cornish wrote: > > Just a thought - lower end graphic cards use system RAM as their own > dont they > > You right, devices like graphic card, ethernet cards etc. are mapped into > memory, what cause some amou

Re: Enabling Signals in kernel

2011-04-12 Thread Haojian Zhuang
On Wed, Apr 13, 2011 at 12:06 AM, Vijay Ram Chitrapu wrote: > Hi experts, > > I am using MVL6.0 in my project and have customized the kernel as per > the requirement. However, i am facing a problem where the Ctrl+C > signal doesn't get caught (or not sure if it is even generated) on the > target p