summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2002-10-02 23:01:43 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-02 23:01:43 -0700
commit42ec800412891828c4fc26aff20e1dc766d05044 (patch)
tree8ec6ca35cad39f4ec3f851f96ea3bbecc50c9e5d /include/linux
parent62fe4120077ef9700f6740a28043f87149f40f4b (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')
0 files changed, 0 insertions, 0 deletions