Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2014 00:03:23 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   [rfc] where to put cpuid_t ?
Message-ID:  <CAJ-VmokOpA8nFashcTpmU0j8Dyw_LX-VvVudcppuGyGV97PRbA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi!

I've been chipping away at a cpuid_t in a local branch for a while and
I think I have the very basics working well enough.

However, the most annoying thing that's crept up is the most bikeshed
topic of them all - where should it live.

I'd like to avoid having to include sys/pcpu.h or sys/_cpuset.h just
for the id type - it seems a bit overkill.

So - suggestions? Otherwise I'm going to leave it in sys/pcpu.h and
just polluate appropriately.

I'd like to try and get cpuid_t and a handful of KBI-changing things
into -HEAD before 11 is branched so we at least have a hope of trying
to support > 128 CPUs out of the box in the immediate future and > 253
CPUs in the later future.


-a



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