diff options
| author | Xiao Guangrong <[email protected]> | 2011-03-15 01:57:37 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2011-03-15 07:30:34 +0000 |
| commit | 25542c646afbf14c43fa7d2b443055cadb73b07a (patch) | |
| tree | bb49d9918ecf8b2677282bcdbf222949399a5d06 /net/unix/af_unix.c | |
| parent | Merge commit 'v2.6.38' into x86/mm (diff) | |
| download | kernel-25542c646afbf14c43fa7d2b443055cadb73b07a.tar.gz kernel-25542c646afbf14c43fa7d2b443055cadb73b07a.zip | |
x86, tlb, UV: Do small micro-optimization for native_flush_tlb_others()
native_flush_tlb_others() is called from:
flush_tlb_current_task()
flush_tlb_mm()
flush_tlb_page()
All these functions disable preemption explicitly, so we can use
smp_processor_id() instead of get_cpu() and put_cpu().
Signed-off-by: Xiao Guangrong <[email protected]>
Cc: Cliff Wickman <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
