summaryrefslogtreecommitdiff
path: root/lookup.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-10-29 14:18:03 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-10-29 14:20:46 +0100
commitdbd83f04dfb4b4265a290bad6a1813825f7ab3c6 (patch)
tree7565751ab618dcb5b130e990c1336614d878cdad /lookup.h
parenta81b515484828e0cff848fb7689d4a4b77f020d8 (diff)
ring: Move generic code for ring layout setup to own function
Initialization of the ring->layout members is the same for RX and TX rings. Instead of duplicating the code in setup_rx_ring_layout() and setup_tx_ring_layout(), create a new function setup_ring_layout_generic() which is called from the former two. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'lookup.h')
0 files changed, 0 insertions, 0 deletions
msg'>The hwlat tracer creates a kernel thread at start of the tracer. It is pinned to a single CPU and will move to the next CPU after each period of running. If the user modifies the migration thread's affinity, it will not change after that happens. The original code created the thread at the first instance it was called, but later was changed to destroy the thread after the tracer was finished, and would not be created until the next instance of the tracer was established. The code that initialized the affinity was only called on the initial instantiation of the tracer. After that, it was not initialized, and the previous affinity did not match the current newly created one, making it appear that the user modified the thread's affinity when it did not, and the thread failed to migrate again. Cc: stable@vger.kernel.org Fixes: 0330f7aa8ee6 ("tracing: Have hwlat trace migrate across tracing_cpumask CPUs") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'drivers/usb/dwc3/ulpi.c')