diff options
| author | Hugh Dickins <hugh@veritas.com> | 2002-10-02 23:01:43 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-02 23:01:43 -0700 |
| commit | 42ec800412891828c4fc26aff20e1dc766d05044 (patch) | |
| tree | 8ec6ca35cad39f4ec3f851f96ea3bbecc50c9e5d /include/linux/pagevec.h | |
| parent | 62fe4120077ef9700f6740a28043f87149f40f4b (diff) | |
[PATCH] shmem: misc changes and cleanups
If PAGE_CACHE_SIZE were to differ from PAGE_SIZE, the VM_ACCT macro,
and shmem_nopage's vm_pgoff manipulation, were still not quite right.
Slip a cond_resched_lock into shmem_truncate's long loop; but not into
shmem_unuse_inode's, since other locks held, and swapoff awful anyway.
Move SetPageUptodate to where it's not already set. Replace
copy_from_user by __copy_from_user since access already verified.
Replace BUG()s by BUG_ON()s. Remove an uninteresting PAGE_BUG().
Diffstat (limited to 'include/linux/pagevec.h')
0 files changed, 0 insertions, 0 deletions
