diff options
| author | 2016-09-17 01:28:23 -0700 | |
|---|---|---|
| committer | 2016-09-17 08:39:10 -0600 | |
| commit | 40aabb67464d5aad9ca3d2a5fedee56e2ff45aa0 (patch) | |
| tree | 19592825f8eb48363f5f9279c0d32003e7ed6532 /include/linux/vt_buffer.h | |
| parent | sbitmap: allocate wait queues on a specific node (diff) | |
| download | linux-dev-40aabb67464d5aad9ca3d2a5fedee56e2ff45aa0.tar.xz linux-dev-40aabb67464d5aad9ca3d2a5fedee56e2ff45aa0.zip | |
sbitmap: push per-cpu last_tag into sbitmap_queue
Allocating your own per-cpu allocation hint separately makes for an
awkward API. Instead, allocate the per-cpu hint as part of the struct
sbitmap_queue. There's no point for a struct sbitmap_queue without the
cache, but you can still use a bare struct sbitmap.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/vt_buffer.h')
0 files changed, 0 insertions, 0 deletions
