P. 1
Linux Internals

Linux Internals

4.65

|Views: 5,664|Likes:
Published by Tuxology.net
The slides for a course on the Internals of the Linux kernel, based on original material by Free Electrons, modified by Codefidence Ltd.
The slides for a course on the Internals of the Linux kernel, based on original material by Free Electrons, modified by Codefidence Ltd.

More info:

Published by: Tuxology.net on Jun 18, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as ODP, PDF, TXT or read online from Scribd
See more
See less

04/10/2015

pdf

text

original

Can be useful for code which can be run from both process or
interrupt context, to know whether it is allowed or not to call
code that may sleep.

irqs_disabled()

Tests whether local interrupt delivery is disabled.

in_interrupt()

Tests whether code is running in interrupt context

in_irq()

Tests whether code is running in an interrupt handler.

287

© Copyright 2006­2004, Michael Opdenacker
© Copyright 2003­2006, Oron Peled
© Copyright 2004­2006 Codefidence Ltd.

Based on material by:

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->