How to know whether a particular patch is applied to the kernel? Especially RT-Preempt Patch.
In the case of preempt you can just use
The string PREEMPT shows that you use a kernel version with the realtime patch.
Some other patches might also changes the
If you found the config file you can grep for specific settings and find out if a patch is used.