On Sunday, November 28, 2010, Philip Guenther <[email protected]> wrote:
> On Sun, 28 Nov 2010, Philip Guenther wrote:
>> On Sunday, November 28, 2010, David Gwynne <[email protected]> wrote:
> ...
>> > Log message:
>> > bump the number of supported cpus from 32 up to 64. lets me attach and
use
>> > all 48 cores in one of my boxes.
>> >
>> > requested by deraadt@
>> > made possible by the recent pmap diff by kettenis@
>>
>> Doesn't pm_cpus in the pmap need to change to a u_int64_t and locore.S
>> and pmap.c (at least) change to match?
>
> Here's a diff to do that.
>
> It also corrects the x86_atomic_*_{l,ul}() macros to actually expand to
> the functions that operate on longs instead of ints (64- and 32-bits,
> respectively) and removes the unused x86_multicast_ipi() function.
> Finally, tlb_shoot_wait has been operated on with 32bit atomic ops, so
> make it an (unsigned) int instead of a long.  (This would have never
> worked on a big-endian platform.)
>
> Compile tested only so far (about to get on plane).

Gah, that's broken.  Helps to test compile with GENERIC.MP.  Will send
better (smaller) diff when I get off the plane.


Philip Guenther

Reply via email to