dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/x86/include/asm/uv
Rusty Russell 4595f9620c x86: change flush_tlb_others to take a const struct cpumask
Impact: reduce stack usage, use new cpumask API.

This is made a little more tricky by uv_flush_tlb_others which
actually alters its argument, for an IPI to be sent to the remaining
cpus in the mask.

I solve this by allocating a cpumask_var_t for this case and falling back
to IPI should this fail.

To eliminate temporaries in the caller, all flush_tlb_others implementations
now do the this-cpu-elimination step themselves.

Note also the curious "cpus_or(f->flush_cpumask, cpumask, f->flush_cpumask)"
which has been there since pre-git and yet f->flush_cpumask is always zero
at this point.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
2009-01-11 19:13:06 +01:00
..
bios.h sgi-xp: xpc needs to pass the physical address, not virtual 2008-12-16 23:04:24 +01:00
uv_bau.h x86: change flush_tlb_others to take a const struct cpumask 2009-01-11 19:13:06 +01:00
uv_hub.h x86: UV fix for global physical addresses 2008-12-16 22:54:03 +01:00
uv_irq.h x86: drop double underscores from header guards 2008-10-23 00:01:39 -07:00
uv_mmrs.h x86: drop double underscores from header guards 2008-10-23 00:01:39 -07:00