Re: kernel preemption does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2008/4/11, Peter Teoh <htmldeveloper@xxxxxxxxx>:
> On Thu, Apr 10, 2008 at 3:32 PM, bhanu nani <bhanu.lnxnew@xxxxxxxxx> wrote:
>
> > Hi all,
>  >
>  >  I am trying to test kernel preemption in my driver. When I first
>  >  compiled the Linux kernel and tested it, I found it to be
>  >  non-preemptible. Later I realised that my kernel was build with
>  >  premption disabled. I enabled kernel premption in processort section
>  >  i.e. CONFIG_PREEMPT and rebuild it.
>
>
> First time I read this article:
>  http://www.linuxdevices.com/articles/AT8211887833.html
>  and I learned tons a lot.
>
>  And this:
>
>  http://www.ussg.iu.edu/hypermail/linux/kernel/0403.2/0545.html
>
>  So I think advisable NOT to set CONFIG_PREEMPT.
>

 For sure is not advisable on a server but in an embedded devices some
I/O locks the system too long if preemption is not configured and
adding a real-time layer is too much effort in order to reduce
response time just some degrees.

 Cheers,
-- 
/roberto

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux