Re: [PATCH] ARM: ensure all sched_clock() implementations are notrace marked

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

 



On Thu, Dec 16, 2010 at 1:48 PM, Russell King - ARM Linux
<linux@xxxxxxxxxxxxxxxx> wrote:
> ftrace requires sched_clock() to be notrace.  Ensure that all
> implementations are so marked.
>
> Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>

It does seem better to have all of them explicity annotated anyway, even
if it not required in most of the cases because they include
<linux/sched.h> and the annotation in the declaration takes effect.

Note that in order for this to be fully effective, all functions called
from sched_clock() need to be notrace too.  OMAP and u300 miss this.
The following patches fix them up; perhaps you can fold them into this
one.  If not, I will rebase them later after this series is merged:

http://www.spinics.net/lists/arm-kernel/msg104616.html
http://www.mail-archive.com/linux-omap@xxxxxxxxxxxxxxx/msg38911.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux