Commit dc163a41 authored by Ingo Molnar's avatar Ingo Molnar

SGI UV: TLB shootdown using broadcast assist unit

TLB shootdown for SGI UV.

v5: 6/12 corrections/improvements per Ingo's second review
Signed-off-by: default avatarCliff Wickman <cpw@sgi.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent b194b120
This diff is collapsed.
...@@ -68,11 +68,11 @@ ...@@ -68,11 +68,11 @@
/* /*
* number of entries in the destination side payload queue * number of entries in the destination side payload queue
*/ */
#define DESTINATION_PAYLOAD_QUEUE_SIZE 17 #define DEST_Q_SIZE 17
/* /*
* number of destination side software ack resources * number of destination side software ack resources
*/ */
#define DESTINATION_NUM_RESOURCES 8 #define DEST_NUM_RESOURCES 8
#define MAX_CPUS_PER_NODE 32 #define MAX_CPUS_PER_NODE 32
/* /*
* completion statuses for sending a TLB flush message * completion statuses for sending a TLB flush message
...@@ -197,10 +197,11 @@ struct bau_msg_header { ...@@ -197,10 +197,11 @@ struct bau_msg_header {
}; };
/* /*
* The activation descriptor:
* The format of the message to send, plus all accompanying control * The format of the message to send, plus all accompanying control
* Should be 64 bytes * Should be 64 bytes
*/ */
struct bau_activation_descriptor { struct bau_desc {
struct bau_target_nodemask distribution; struct bau_target_nodemask distribution;
/* /*
* message template, consisting of header and payload: * message template, consisting of header and payload:
...@@ -281,7 +282,7 @@ struct bau_sw_ack_status { ...@@ -281,7 +282,7 @@ struct bau_sw_ack_status {
* one on every node and per-cpu; to locate the software tables * one on every node and per-cpu; to locate the software tables
*/ */
struct bau_control { struct bau_control {
struct bau_activation_descriptor *descriptor_base; struct bau_desc *descriptor_base;
struct bau_payload_queue_entry *bau_msg_head; struct bau_payload_queue_entry *bau_msg_head;
struct bau_payload_queue_entry *va_queue_first; struct bau_payload_queue_entry *va_queue_first;
struct bau_payload_queue_entry *va_queue_last; struct bau_payload_queue_entry *va_queue_last;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment