From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by ozlabs.org (Postfix) with ESMTP id 2654FDDEE2 for ; Wed, 9 Jul 2008 06:53:05 +1000 (EST) Received: by fk-out-0910.google.com with SMTP id e30so2184845fke.9 for ; Tue, 08 Jul 2008 13:53:03 -0700 (PDT) Message-ID: <5468b7f30807081353j56ed49a0ve18bc9bd1aa0eb5b@mail.gmail.com> Date: Tue, 8 Jul 2008 22:53:03 +0200 From: "Paolo Doz" To: "Grant Likely" Subject: Re: While(1) in kernel space In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30138_25789996.1215550383097" References: <5468b7f30807080055p69571979i9a565653e523c2c0@mail.gmail.com> <200807081645.31807.arnd@arndb.de> Cc: linuxppc-dev@ozlabs.org, Arnd Bergmann List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_30138_25789996.1215550383097 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for the infos, I'll try kernel thread or timer/softirq in the next days. I'll let you know which of them fit my problems. I actually have about +/- 1msec of freedom (but still require more investigation). Paolo On Tue, Jul 8, 2008 at 4:47 PM, Grant Likely wrote: > On Tue, Jul 8, 2008 at 8:45 AM, Arnd Bergmann wrote: > > On Tuesday 08 July 2008, Grant Likely wrote: > > > >> > >> You can use a kernel thread. > >> > >> I'm not sure how accurate this is, but here is some information about > them: > >> > >> > http://www.linuxquestions.org/linux/articles/Technical/Linux_Kernel_Thread > > > > Not accurate at all. New code should use kthread_create, as documented in > > > > http://lwn.net/Articles/65178/ > > Teach me to blindly use google. Thanks Arnd. > > g. > > -- > Grant Likely, B.Sc., P.Eng. > Secret Lab Technologies Ltd. > ------=_Part_30138_25789996.1215550383097 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for the infos, I'll try kernel thread or timer/softirq in the next days.
I'll let you know which of them fit my problems.

I actually have about +/- 1msec of freedom (but still require more investigation).

Paolo

On Tue, Jul 8, 2008 at 4:47 PM, Grant Likely <grant.likely@secretlab.ca> wrote:
On Tue, Jul 8, 2008 at 8:45 AM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Tuesday 08 July 2008, Grant Likely wrote:
>
>>
>> You can use a kernel thread.
>>
>> I'm not sure how accurate this is, but here is some information about them:
>>
>> http://www.linuxquestions.org/linux/articles/Technical/Linux_Kernel_Thread
>
> Not accurate at all. New code should use kthread_create, as documented in
>
> http://lwn.net/Articles/65178/

Teach me to blindly use google.  Thanks Arnd.

g.

--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

------=_Part_30138_25789996.1215550383097--