All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] User space stack pre-faulting
@ 2011-06-22  9:26 Jan Kiszka
  2011-06-22 10:36 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2011-06-22  9:26 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai core

Hi Gilles,

do you remember reasons for only pre-faulting the main thread's stack?
The desire to avoid wasting resources by forcing all stacks into memory?

I've the requirement on my table to provide a generic solution of all
shadow threads. I think this should be possible using pthread_getattr_np
and walking the stack page-wise, but I may miss some pitfall.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


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

end of thread, other threads:[~2011-06-22 12:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-22  9:26 [Xenomai-core] User space stack pre-faulting Jan Kiszka
2011-06-22 10:36 ` Gilles Chanteperdrix
2011-06-22 10:55   ` Jan Kiszka
2011-06-22 10:56     ` Gilles Chanteperdrix
2011-06-22 12:26       ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.