Xorg input thread (2)
vignatti at c3sl.ufpr.br
Mon Jul 23 23:15:50 PDT 2007
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
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()).
C3SL - Centro de Computação Científica e Software Livre
More information about the xorg