diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2020-09-21 15:58:40 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2020-09-21 15:59:26 +0000 |
| commit | 0a195b91e8991367a94ee199f3af7faa7607e7db (patch) | |
| tree | 25e7c055e0621e64a0e09479cd505dd1a6083168 /drivers/usb/cdns3 | |
| parent | iomap: Use bitmap ops to set uptodate bits (diff) | |
| download | kernel-0a195b91e8991367a94ee199f3af7faa7607e7db.tar.gz kernel-0a195b91e8991367a94ee199f3af7faa7607e7db.zip | |
iomap: Support arbitrarily many blocks per page
Size the uptodate array dynamically to support larger pages in the
page cache. With a 64kB page, we're only saving 8 bytes per page today,
but with a 2MB maximum page size, we'd have to allocate more than 4kB
per page. Add a few debugging assertions.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions
