diff options
| author | Tejun Heo <[email protected]> | 2014-09-02 18:46:05 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2014-09-02 18:46:05 +0000 |
| commit | b539b87fed37ffc16c89a6bc3beca2d7aed82e1c (patch) | |
| tree | 62657355b1f570ca9fe4cee455a41125e84dce7c /fs/file_table.c | |
| parent | percpu: make sure chunk->map array has available space (diff) | |
| download | kernel-b539b87fed37ffc16c89a6bc3beca2d7aed82e1c.tar.gz kernel-b539b87fed37ffc16c89a6bc3beca2d7aed82e1c.zip | |
percpu: implmeent pcpu_nr_empty_pop_pages and chunk->nr_populated
pcpu_nr_empty_pop_pages counts the number of empty populated pages
across all chunks and chunk->nr_populated counts the number of
populated pages in a chunk. Both will be used to implement pre/async
population for atomic allocations.
pcpu_chunk_[de]populated() are added to update chunk->populated,
chunk->nr_populated and pcpu_nr_empty_pop_pages together. All
successful chunk [de]populations should be followed by the
corresponding pcpu_chunk_[de]populated() calls.
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions
