-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit b052ae4
pci: document potential contention on PCI bus lock
We have a single lock for all devices on the PCI bus that serializes
reads and writes on the devices' PCI configuration space and BARs.
This should not be a problem at the moment. It should be out of any hot
path and only up until we are setting up devices. However, add a comment
that mentions the existence of the contention so that we keep it in mind
for the futuer (and maybe perform some profiling).
Signed-off-by: Babis Chalios <bchalios@amazon.es>1 parent 26e708d commit b052ae4
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
164 | + | ||
165 | + | ||
166 | + | ||
164 | 167 |
| |
165 | 168 |
| |
166 | 169 |
| |
| |||
195 | 198 |
| |
196 | 199 |
| |
197 | 200 |
| |
201 | + | ||
202 | + | ||
203 | + | ||
198 | 204 |
| |
199 | 205 |
| |
200 | 206 |
| |
|
0 commit comments