<div dir="ltr"><div>Hi,</div><div><br></div><div>Are there any size restrictions on restorer binary blob? For restoring per-thread device state, I&#39;ve added code to pie/restorer.c. My code is called only for main thread from __export_restore_task(). Does the code layout of restorer blob make any difference? The reason I ask is because sometimes (at random), I see &quot;Thread pid mismatch&quot; error. Thanks!</div><div><br></div><div>Without my code in restorer:</div><div><br></div><div># ls -l pie/restorer,built-in.bin.o</div><div><br></div><div>96,392 bytes</div><div><br></div><div>With my code:</div><div><br></div><div><div># ls -l pie/restorer,built-in.bin.o</div><div><br></div><div>101,148 bytes</div> </div></div>