LWN.net Logo

KS2011: Preemption disable and verifiable APIs

KS2011: Preemption disable and verifiable APIs

Posted Oct 27, 2011 0:10 UTC (Thu) by rusty (✭ supporter ✭, #26)
In reply to: KS2011: Preemption disable and verifiable APIs by valyala
Parent article: KS2011: Preemption disable and verifiable APIs

Generally num-cpus is small, num-threads is huge.


(Log in to post comments)

KS2011: Preemption disable and verifiable APIs

Posted Oct 27, 2011 9:33 UTC (Thu) by valyala (guest, #41196) [Link]

I suppose the number of threads, which usually access per-CPU data, is comparable to the number of CPUs. So, per-thread data can be created lazily in order to avoid performance and memory hit for each created thread.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds