projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IB/hfi1: Add SDMA cache eviction algorithm
[deliverable/linux.git]
/
drivers
/
staging
/
rdma
/
hfi1
/
user_sdma.h
diff --git
a/drivers/staging/rdma/hfi1/user_sdma.h
b/drivers/staging/rdma/hfi1/user_sdma.h
index 0afa28508a8a3335c0e040cdf46e89c221b90de0..b9240e351161c9dad40e253c9f045e99b912a858 100644
(file)
--- a/
drivers/staging/rdma/hfi1/user_sdma.h
+++ b/
drivers/staging/rdma/hfi1/user_sdma.h
@@
-1,12
+1,11
@@
/*
/*
+ * Copyright(c) 2015, 2016 Intel Corporation.
*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
- * Copyright(c) 2015 Intel Corporation.
- *
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
@@
-18,8
+17,6
@@
*
* BSD LICENSE
*
*
* BSD LICENSE
*
- * Copyright(c) 2015 Intel Corporation.
- *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@
-69,7
+66,11
@@
struct hfi1_user_sdma_pkt_q {
struct iowait busy;
unsigned state;
wait_queue_head_t wait;
struct iowait busy;
unsigned state;
wait_queue_head_t wait;
- struct mm_struct *user_mm;
+ unsigned long unpinned;
+ struct rb_root sdma_rb_root;
+ u32 n_locked;
+ struct list_head evict;
+ spinlock_t evict_lock; /* protect evict and n_locked */
};
struct hfi1_user_sdma_comp_q {
};
struct hfi1_user_sdma_comp_q {
This page took
0.024175 seconds
and
5
git commands to generate.