linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Thread specific data
@ 2001-12-16 12:52 Anumula Venkat
  2001-12-16 15:09 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Anumula Venkat @ 2001-12-16 12:52 UTC (permalink / raw)
  To: linux-mm

Hello Friends,

    Can somebody help in knowing how to access thread
data structures on kernel side.i.e accessing thread
specific data in stack segment.

Regards
Venkat

=====
'Arise, awake and stop not till the GOAL is reached' -- Swami Vivekananda

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Thread specific data
  2001-12-16 12:52 Thread specific data Anumula Venkat
@ 2001-12-16 15:09 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2001-12-16 15:09 UTC (permalink / raw)
  To: Anumula Venkat; +Cc: linux-mm

On Sun, Dec 16, 2001 at 04:52:19AM -0800, Anumula Venkat wrote:
> Hello Friends,
> 
>     Can somebody help in knowing how to access thread
> data structures on kernel side.i.e accessing thread
> specific data in stack segment.

The Linux kernel has a unified process/thread concept so there isn't
really a 'thread data structure' in the kernel.  See linux/sched.h
for details.

For userspace stack this is handle by glibc/linuxthreads.  On i686
it uses sys_modify_ldt to get per-thread segments, not sure how it
is handled on older CPUs / other architectures.

	Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-16 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-16 12:52 Thread specific data Anumula Venkat
2001-12-16 15:09 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox