Re: issues dealing with kobjects

2014-06-19 Thread enjoy mindful
You have two *different* local pointer with same name. On Fri, Jun 20, 2014 at 2:01 PM, Raghavendra wrote: > Hello all, > > I am facing a small issue dealing with kobjects. > I am writing a simple i2c driver for which I would like to export a few > sysfs attributes(files). > The files are many, s

issues dealing with kobjects

2014-06-19 Thread Raghavendra
Hello all, I am facing a small issue dealing with kobjects. I am writing a simple i2c driver for which I would like to export a few sysfs attributes(files). The files are many, so I've decided to pack them into a directory in sysfs (inside the i2c device) and so I thought of kobjects. My privat

Re: pow calculation in kernel

2014-06-19 Thread John de la Garza
On Fri, Jun 20, 2014 at 09:55:02AM +0800, 张晗 wrote: > Hi: > > I am doing a research on D2TCP(http://dl.acm.org/citation.cfm?id=2342388), I > just want to implement it into the linux kernel. When calculating the penalty > function, it is p = a^d, where 0< a < 1 and 0< d < 1. Since the kernel

pow calculation in kernel

2014-06-19 Thread ????
Hi: I am doing a research on D2TCP(http://dl.acm.org/citation.cfm?id=2342388), I just want to implement it into the linux kernel. When calculating the penalty function, it is p = a^d, where 0< a < 1 and 0< d < 1. Since the kernel only offers integer, so in my code, so I let a multiply 2^1

Re: How to get the average/max process scheduling latency

2014-06-19 Thread Valdis . Kletnieks
On Mon, 16 Jun 2014 18:23:56 +0200, Teto said: > I could not find an answer yet. I've found that on latest kernel > latency is on average around 3us with a max at 64us (I consider a > moderate load). Is that correct ? Depends on your hardware and system load. I'd hardly expect the same numbers f

Re: Why the page tables are needed for lowmem?

2014-06-19 Thread Rik van Riel
On 06/18/2014 11:21 PM, sandeep kumar wrote: > Hi All > > i was going through mm initialization code, and saw paging_init() > implementation. > it has a function map_lowmem(). > > I was wondering why do we need page table entries for lowmem ?? > > because all the pages in lowmem can be addressed

How to get the average/max process scheduling latency

2014-06-19 Thread Teto
Hi, I would like to retrieve the average latency between 2 schedulings of an application. The purpose is to model the service time of the application (ie. How fast it can empty the TCP buffer). I could not find an answer yet. I've found that on latest kernel latency is on average around 3us with

How is memory allocated between the different TCP queues ?

2014-06-19 Thread Teto
Hi, I know there are different TCP queues (prequeue/backlog/out of order) depending on the state of the application. I was wondering how the values set in net.ipv4.tcp_rmem were "ventilated" (allocated) between the different queues ? For instance can the out of order queue represent 100% of tcp_rm

Re: Eudyptula Challenge Task 01

2014-06-19 Thread sanjeev sharma
There may be chance that http://lxr.free-electrons.com/source/Documentation/email-clients.txt may confuses most of us because Editor Instruction is not very clear so we should follow following steps after installing ThunderBird Email Client. 1:Select compose New Email option by clicking on Write b