hi Ryan,
I think you have to modify gralloc in order to make pmem aware of hibernation.
It is not a problem related to TOI in my opion.
> As we know, android add the new driver pmem into kernel. And system's
> mm can not see and control all of alloced memory from PMem.
Would you consider to use the new driver model /dev/ion instead?
> I don't know that the tuxonice patch can deal with this issue, cannot
> it ?
> Or, I miss something. Maybe that hibernation patch can deal with pmem.
Sincerely,
Jim Huang (jserv)
http://0xlab.org/