Xorg input thread (2)
Tiago Vignatti
vignatti at c3sl.ufpr.br
Mon Jul 23 23:15:50 PDT 2007
Hi Indan,
Indan Zupancic escreveu:
> The pthread thread uses 8 Mb of mlocked space because that's
> the default thread stack size. Call
>
> pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN)
>
> to use a 16Kb stack, or fill in whatever is needed for the input
> handling.
Oh, sure! Thanks for pointing this.
Now when I start the X server threaded I obtain the same 7416 Kb calling
clone or pthread (This all using the mlockall() to catch the cursor's
footprint in memory. I'm still investing some time doing a locking
manager to decrease the memory locked using mlock() instead mlockall()).
my regards,
--
Tiago Vignatti
C3SL - Centro de Computação Científica e Software Livre
www.c3sl.ufpr.br
More information about the xorg
mailing list