Re: 回复: pow function in kernel space

2014-06-19 Thread Mateusz Guzik
On Fri, Jun 20, 2014 at 08:59:49AM +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

Re: ?????? pow function in kernel space

2014-06-19 Thread John-Mark Gurney
wrote this message on Fri, Jun 20, 2014 at 09:00 +0800: > 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 on

?????? pow function in kernel space

2014-06-19 Thread ????
100084, P.R.CHINA Mobile: +86 156-526-59782 E-mail: zhang...@csnet1.cs.tsinghua.edu.cn -- -- ??: "Andrey Zonov";; : 2014??6??20??(??) 3:04 ??: ""; "freebsd-net"; : Re: pow f

?????? pow function in kernel space

2014-06-19 Thread ????
100084, P.R.CHINA Mobile: +86 156-526-59782 E-mail: zhang...@csnet1.cs.tsinghua.edu.cn -- -- ??: "Peter Jeremy";; : 2014??6??20??(??) 4:06 ??: ""; : "freebsd-net"; : Re: po

Re: pow function in kernel space

2014-06-19 Thread Peter Jeremy
On 2014-Jun-19 20:40:48 +0800, 张晗 wrote: >how can I implement, in an efficient, way the pow() function in kernel space ? > Is there any function I can use o r how I can evaluate pow function in kernel >model? Since the kernel only offers integer arithmetic, one approach would be s

Re: pow function in kernel space

2014-06-19 Thread Andrey Zonov
There is no floating point types in kernel, so there is no pow() in kernel. On 6/19/14, 5:40 AM, wrote: > how can I implement, in an efficient, way the pow() function in kernel space > ? Is there any function I can use o r how I can evaluate pow function in > kernel model? >

pow function in kernel space

2014-06-19 Thread ????
how can I implement, in an efficient, way the pow() function in kernel space ? Is there any function I can use o r how I can evaluate pow function in kernel model? Thanks! -- ?? -- HanZhang School of Computer Science Tsinghua University