mirror of
https://github.com/torvalds/linux.git
synced 2024-12-20 01:52:13 +00:00
ae9fed6b60
shmfs doesn't actually implement i_ops->truncate() so we were not immedatiately releasing the backing pages when shrinking the gfx cache under OOM. Instead use a combination of truncate_inode_pages() and i_ops->truncate_range() as is used by shmem_delete_inode(). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net> |
||
---|---|---|
.. | ||
drm | ||
vga | ||
Makefile |