aboutsummaryrefslogtreecommitdiff
path: root/include/Kbuild
diff options
context:
space:
mode:
authorJerome Marchand <jmarchan@redhat.com>2011-06-10 15:28:48 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-05 10:07:13 -0700
commit924bd88d703e53d30f393fac6117f8f1bc79aab6 (patch)
tree223f2de31c371175a8f96faeb0b27ff1f5789875 /include/Kbuild
parent8c921b2b43d47faa7c11eac1d2673bbe7fbc41dc (diff)
Staging: zram: allow partial page operations
Commit 7b19b8d45b216ff3186f066b31937bdbde066f08 (zram: Prevent overflow in logical block size) introduced ZRAM_LOGICAL_BLOCK_SIZE constant to prevent overflow of logical block size on 64k page kernel. However, the current implementation of zram only allow operation on block of the same size as a page. That makes theorically legit 4k requests fail on 64k page kernel. This patch makes zram allow operation on partial pages. Basically, it means we still do operations on full pages internally, but only copy the relevent segments from/to the user memory. Signed-off-by: Jerome Marchand <jmarchan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/Kbuild')
0 files changed, 0 insertions, 0 deletions