login
Header Space

 
 

Re: Top kernel oopses/warnings for the week of May 30th 2008

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Hugh Dickins <hugh@...>
Cc: <arjan@...>, <linux-kernel@...>, <torvalds@...>, <mingo@...>, <greg@...>, <jeff@...>, <davej@...>
Date: Monday, June 2, 2008 - 8:00 pm

On Tue, 3 Jun 2008 00:44:38 +0100 (BST)
Hugh Dickins <hugh@veritas.com> wrote:


eek.

/*
 * Are we running in atomic context?  WARNING: this macro cannot
 * always detect atomic context; in particular, it cannot know about
 * held spinlocks in non-preemptible kernels.  Thus it should not be
 * used in the general case to determine whether sleeping is possible.
 * Do not use in_atomic() in driver code.
 */
#define in_atomic()	((preempt_count() & ~PREEMPT_ACTIVE) != PREEMPT_INATOMIC_BASE)

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Fri May 30, 12:39 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Sun Jun 1, 10:27 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Fri May 30, 6:36 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Andrew Morton, (Mon Jun 2, 8:00 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Fri May 30, 6:00 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Fri May 30, 6:34 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Fri May 30, 5:49 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Fri May 30, 6:17 pm)
speck-geostationary