Damien Zammit, le dim. 24 sept. 2023 10:35:10 +, a ecrit:
> Untested on 64 bit
It will just not work :)
64bit needs to set an fsgs base instead.
Samuel
Applied, thanks!
Damien Zammit, le dim. 24 sept. 2023 10:35:10 +, a ecrit:
> This speeds up smp again, by storing the struct processor
> in a percpu area and avoiding an expensive cpu_number every call
> of current_processor(), as well as getting the cpu_number by
> an offset into the percpu a
This speeds up smp again, by storing the struct processor
in a percpu area and avoiding an expensive cpu_number every call
of current_processor(), as well as getting the cpu_number by
an offset into the percpu area. Untested on 64 bit
and work remains to use other percpu arrays.
TESTED: (NCPUS=8)