Commit e31fc84d authored by Richard Chang's avatar Richard Chang Committed by David Stevens
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>
(cherry picked from commit 6e7bc59d)
Bug: 446676432
Signed-off-by: default avatarDavid Stevens <stevensd@google.com>
parent 171f2d5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment