HFI1: track receive TIDs in a tree

This commit is contained in:
Balazs Gerofi
2017-12-05 17:13:09 +09:00
parent 96b8b30516
commit fcc8310454
4 changed files with 324 additions and 7 deletions

View File

@@ -82,6 +82,14 @@ struct tid_rb_node {
u32 len;
u32 rcventry;
struct tid_group *grp;
bool freed;
struct rb_root *rb_root;
struct hfi1_filedata *fd;
unsigned long start;
unsigned long end;
struct rb_node rb_node;
struct deferred_unmap_range *range;
};
struct tid_pageset {

View File

@@ -585,6 +585,8 @@ struct process {
void *hfi1_events;
size_t hfi1_cq_comps_len;
ihk_spinlock_t hfi1_lock;
struct rb_root hfi1_reg_tree;
struct rb_root hfi1_inv_tree;
};
/*