lkml.org 
[lkml]   [2005]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01
Date
On Tue, 02 Aug 2005 18:12:27 -0700, 
George Anzinger <george@mvista.com> wrote:
>How about something like:
> if (current + THREAD_SIZE/sizeof(long) - (regs + sizeof(pt_regs)) > MAGIC)

current points to the current struct task, regs points to the kernel
stack. Those two data areas can be completely separate, as they are on
i386. Also i386 uses a separate kernel stack for interrupts.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-03 03:53    [from the cache]
©2003-2011 Jasper Spaans