Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2005 08:27:30 +0000
From:      Joseph Koshy <joseph.koshy@gmail.com>
To:        freebsd-smp@freebsd.org
Subject:   Logical CPU -> physical CPU conversion
Message-ID:  <84dead7205021700272b4760f3@mail.gmail.com>

index | next in thread | raw e-mail

Given a cpu number for a logical CPU, is there a way to map
this to a CPU number for a physical CPU?

Will:

  physcpu = logicalcpu & ~1;

always work?

-- 
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead7205021700272b4760f3>