Changeset 2057572 in mainline for kernel/arch/sparc64/src/smp/ipi.c


Ignore:
Timestamp:
2007-03-27T23:40:25Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
399ece9
Parents:
8d37a06
Message:

The Ultimate Solution To Illegal Virtual Aliases.
It is better to avoid them completely than to fight them.
Switch the sparc64 port to 16K pages. The TLBs and TSBs
continue to operate with 8K pages only. Page tables and
other generic parts operate with 16K pages.

Because the MMU doesn't support 16K directly, each 16K
page is emulated by a pair of 8K pages. With 16K pages,
illegal aliases cannot be created in 16K D-cache.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/smp/ipi.c

    r8d37a06 r2057572  
    4040#include <config.h>
    4141#include <mm/tlb.h>
    42 #include <arch/mm/cache.h>
    4342#include <arch/interrupt.h>
    4443#include <arch/trap/interrupt.h>
     
    126125                func = tlb_shootdown_ipi_recv;
    127126                break;
    128 #if (defined(CONFIG_SMP) && (defined(CONFIG_VIRT_IDX_DCACHE)))
    129         case IPI_DCACHE_SHOOTDOWN:
    130                 func = dcache_shootdown_ipi_recv;
    131                 break;
    132 #endif
    133127        default:
    134128                panic("Unknown IPI (%d).\n", ipi);
Note: See TracChangeset for help on using the changeset viewer.