Commit 6e7bc59d authored by Richard Chang's avatar Richard Chang Committed by Treehugger Robot
Browse files

ANDROID: zram: Add ioctl infrastructure



Add the basic infrastructure for handling ioctl commands in the zram
driver. This provides a channel for device-specific operations between
userspace and the driver. Introduce ZRAM_ANDROID_IOCTL config.

This change is a preparatory step for introducing more advanced zram
features. The new ioctl interface will be used to implement per-process
page operations in a subsequent patch.

Bug: 421065577
Change-Id: I9d34b88fb4d98df0bf7e5b04d4820bb6ef0a0c24
Signed-off-by: default avatarRichard Chang <richardycc@google.com>
parent 7463ed29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment