diff options
| author | Andrew Morton <akpm@zip.com.au> | 2002-07-04 08:30:44 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-07-04 08:30:44 -0700 |
| commit | e7c8964639dbb27af8156afd99fd2f3f7b60d869 (patch) | |
| tree | 04cd3da03ac7e07c63d2b12e1899c00356700152 /include/linux | |
| parent | b6a7f08851712698bc9e545134a839a7f5683c2c (diff) | |
[PATCH] shmem fixes
A shmem cleanup/bugfix patch from Hugh Dickins.
- Minor: in try_to_unuse(), only wait on writeout if we actually
started new writeout. Otherwise, there is no need because a
wait_on_page_writeback() has already been executed against this page.
And it's locked, so no new writeback can start.
- Minor: in shmem_unuse_inode(): remove all the
wait_on_page_writeback() logic. We already did that in
try_to_unuse(), adn the page is locked so no new writeback can start.
- Less minor: add a missing a page_cache_release() to
shmem_get_page_locked() in the uncommon case where the page was found
to be under writeout.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
