Re: how to check kernel is configured with preemption or not

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

 



On Sun, Oct 23, 2011 at 1:34 PM, sri <bskmohan@xxxxxxxxx> wrote:
> No, uname did not show anything.
> Is there any way to get the kernel preemption mode, programatically?
>
> Thanks,
> --Sri
>
> On Fri, Oct 21, 2011 at 6:41 PM, Daniel Baluta <daniel.baluta@xxxxxxxxx>
> wrote:
>>
>> On Fri, Oct 21, 2011 at 2:28 PM, sri <bskmohan@xxxxxxxxx> wrote:
>> > Hi,
>> >
>> > Am using kernel 2.6.18-195(centos 5.5).
>> > My kernel configs have CONFIG_PREEMPT_NONE=7 and
>> > "CONFIG_PREEMPT_VOLUNTERY
>> > is not set".
>> > How to check that preemption is really in place?
>> > Is there any way to check my kernel is configured with what preemption
>> > levels?
>>
>> Hmm, uname -a?
I'm sure its in /sys somewhere.

Remember /sys is part of the official ABI.

Also, you see what your config look like for sure by looking at
/proc/config.gz  (that file is virtual, but shows the contents of how
your config file was at compile time for the running kernel.

Greg

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[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