Date: Thu, 17 Mar 2005 10:40:52 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: David Xu <davidxu@freebsd.org> Cc: current@freebsd.org Subject: Re: [TEST/REVIEW/PERF] kern_thread.c tid allocation patch Message-ID: <5821.1111052452@critter.freebsd.dk> In-Reply-To: Your message of "Thu, 17 Mar 2005 17:34:26 %2B0800." <42394F22.9060100@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <42394F22.9060100@freebsd.org>, David Xu writes: >Thread ID should start from (PID_MAX + 1). Then change: tid_unrhdr = new_unrhdr(0, INT_MAX, &tid_lock); to tid_unrhdr = new_unrhdr(PID_MAX + 1, INT_MAX, &tid_lock); -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5821.1111052452>